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

Comparing ray/src/util/rfluxmtx.c (file contents):
Revision 2.41 by greg, Sat Aug 20 03:43:24 2016 UTC vs.
Revision 2.42 by greg, Thu Dec 22 17:28:06 2016 UTC

# Line 1305 | Line 1305 | main(int argc, char *argv[])
1305                          fputs(": -i, -I supported for pass-through only\n", stderr);
1306                          return(1);
1307                  }
1308 <                fmtopt[2] = (sizeof(RREAL)==sizeof(double)) ? 'd' : 'f';
1308 > #ifdef SMLFLT
1309 >                fmtopt[2] = 'f';
1310 > #else
1311 >                fmtopt[2] = 'd';
1312 > #endif
1313                  if (sampcnt <= 0) sampcnt = 10000;
1314          }
1315          sprintf(sampcntbuf, "%d", sampcnt);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines