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

Comparing ray/src/util/rmtxop.c (file contents):
Revision 2.36 by greg, Fri Mar 28 00:06:36 2025 UTC vs.
Revision 2.37 by greg, Fri Apr 4 01:48:25 2025 UTC

# Line 345 | Line 345 | loadop(ROPMAT *rop)
345                  }
346          }
347          if (rop->preop.transpose) {             /* transpose matrix? */
348 <                mres = rmx_transpose(rop->mtx);
349 <                if (mres == NULL) {
348 >                if (!rmx_transpose(rop->mtx)) {
349                          fputs(rop->inspec, stderr);
350                          fputs(": transpose failed\n", stderr);
351                          goto failure;
# Line 355 | Line 354 | loadop(ROPMAT *rop)
354                          fputs(rop->inspec, stderr);
355                          fputs(": transposed rows and columns\n", stderr);
356                  }
358                rmx_free(rop->mtx);
359                rop->mtx = mres;
357          }
358          mres = rop->mtx;
359          rop->mtx = NULL;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines