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.5 by greg, Tue Nov 26 17:33:55 2013 UTC vs.
Revision 2.6 by greg, Mon Feb 17 21:56:22 2014 UTC

# Line 91 | Line 91 | main(int argc, char *argv[])
91   #ifdef DEBUG
92          fprintf(stderr, "Minimum BSDF set to %.4f\n", bsdf_min);
93   #endif
94 <        min_log = log(bsdf_min*.5);
94 >        min_log = log(bsdf_min*.5 + 1e-5);
95                                                  /* output BSDF rep. */
96          for (n = 0; (n < 6) & (2*n+3 < argc); n++) {
97                  double  theta = atof(argv[2*n+2]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines