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

Comparing ray/src/cv/bsdf2rad.c (file contents):
Revision 2.29 by greg, Wed Apr 12 05:01:45 2017 UTC vs.
Revision 2.30 by greg, Mon May 15 19:17:27 2017 UTC

# Line 42 | Line 42 | const double   sph_xoffset = 15.;
42  
43   #define FEQ(a,b)        ((a)-(b) <= 1e-7 && (b)-(a) <= 1e-7)
44  
45 < #define set_minlog()    (min_log10 = log10(overall_min + 1e-5) - .1)
45 > #define set_minlog()    overall_min = (overall_min < 1e-5) ? 1e-5 : overall_min; \
46 >                                min_log10 = log10(overall_min) - .1
47  
48   char    *progname;
49  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines