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

Comparing ray/src/cal/total.c (file contents):
Revision 1.4 by greg, Thu Jun 2 04:47:27 2005 UTC vs.
Revision 1.6 by greg, Fri Apr 18 16:32:27 2008 UTC

# Line 13 | Line 13 | static const char      RCSid[] = "$Id$";
13   #include  <math.h>
14   #include  "platform.h"
15  
16 < #define  MAXCOL         256             /* maximum number of columns */
16 > #define  MAXCOL         2048            /* maximum number of columns */
17  
18   #define  ADD            0               /* add numbers */
19   #define  MULT           1               /* multiply numbers */
# Line 294 | Line 294 | char  *fname
294                                          result[n] = pow(result[n], 1.0/power);
295                          }
296                          if (func == MULT)
297 <                                result[n] = exp(tally[n]);
297 >                                result[n] = exp(result[n]);
298                  }
299                  putrecord(result, ncol, stdout);
300                  if (!subtotal)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines