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

Comparing ray/src/util/rcomb.c (file contents):
Revision 2.8 by greg, Thu May 16 18:59:19 2024 UTC vs.
Revision 2.9 by greg, Sun May 19 15:32:24 2024 UTC

# Line 390 | Line 390 | apply_op(RMATRIX *dst, const RMATRIX *src, const RUNAR
390                          return(0);
391                  rmx_free(res);
392          } else if (dst != src)
393 <                memcpy(dst->mtx, src->mtx,
394 <                                sizeof(double)*dst->ncomp*dst->ncols*dst->nrows);
393 >                memcpy(dst->mtx, src->mtx, rmx_array_size(dst));
394          if (ro->nsf == dst->ncomp)
395                  rmx_scale(dst, ro->sca);
396          return(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines