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.31 by greg, Mon Aug 12 04:12:57 2019 UTC vs.
Revision 2.32 by greg, Mon Aug 12 04:46:34 2019 UTC

# Line 468 | Line 468 | rmx_transpose(const RMATRIX *rm)
468                  return(0);
469          if ((rm->nrows == 1) | (rm->ncols == 1)) {
470                  dnew = rmx_copy(rm);
471 +                if (dnew == NULL)
472 +                        return(NULL);
473                  dnew->nrows = rm->ncols;
474                  dnew->ncols = rm->nrows;
475                  return(dnew);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines