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.8 by greg, Wed Aug 27 13:33:47 2014 UTC vs.
Revision 2.9 by greg, Thu Aug 28 05:59:42 2014 UTC

# Line 371 | Line 371 | rmx_write(const RMATRIX *rm, int dtype, FILE *fp)
371                  dtype = rm->dtype;
372          else if ((dtype == DTrgbe) & (rm->dtype == DTxyze))
373                  dtype = DTxyze;
374 <        else if ((dtype = DTxyze) & (rm->dtype == DTrgbe))
374 >        else if ((dtype == DTxyze) & (rm->dtype == DTrgbe))
375                  dtype = DTrgbe;
376          if ((dtype != DTrgbe) & (dtype != DTxyze)) {
377                  fprintf(fp, "NROWS=%d\n", rm->nrows);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines