ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/bsdfrbf.c
(Generate patch)

Comparing ray/src/cv/bsdfrbf.c (file contents):
Revision 2.16 by greg, Fri Nov 8 23:49:07 2013 UTC vs.
Revision 2.19 by greg, Sun Mar 2 01:56:03 2014 UTC

# Line 35 | Line 35 | static const char RCSid[] = "$Id$";
35   #define SMOOTH_MSE      5e-5            /* acceptable mean squared error */
36   #endif
37   #ifndef SMOOTH_MSER
38 < #define SMOOTH_MSER     0.07            /* acceptable relative MSE */
38 > #define SMOOTH_MSER     0.03            /* acceptable relative MSE */
39   #endif
40   #define MAX_RAD         (GRIDRES/8)     /* maximum lobe radius */
41  
# Line 91 | Line 91 | add_bsdf_data(double theta_out, double phi_out, double
91   static void
92   comp_bsdf_min()
93   {
94 <        int     cnt;
95 <        int     i, target;
94 >        unsigned long   cnt, target;
95 >        int             i;
96  
97          cnt = 0;
98          for (i = HISTLEN; i--; )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines