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.56 by greg, Fri Mar 11 01:11:13 2022 UTC vs.
Revision 2.57 by greg, Mon Mar 14 23:28:14 2022 UTC

# Line 241 | Line 241 | rmx_load_rgbe(RMATRIX *rm, FILE *fp)
241          if (!rmx_prepare(rm))
242                  return(0);
243          for (i = 0; i < rm->nrows; i++) {
244 <            double      *dp = rmx_lval(rm,i,j);
244 >            double      *dp = rmx_lval(rm,i,0);
245              if (freadscan(scan, rm->ncols, fp) < 0) {
246                  free(scan);
247                  return(0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines