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

Comparing ray/src/util/rmatrix.c (file contents):
Revision 2.71 by greg, Tue Dec 5 21:13:38 2023 UTC vs.
Revision 2.72 by greg, Tue Dec 5 21:45:39 2023 UTC

# Line 450 | Line 450 | rmx_write_ascii(const double *dp, int nc, int len, FIL
450   {
451          while (len-- > 0) {
452                  int     k = nc;
453 <                while (nc-- > 0)
453 >                while (k-- > 0)
454                          fprintf(fp, " %.7e", *dp++);
455                  fputc('\t', fp);
456          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines