# | Line 9 | Line 9 | static const char RCSid[] = "$Id$"; | |
---|---|---|
9 | #include <math.h> | |
10 | #include "platform.h" | |
11 | #include "rtio.h" | |
12 | – | #include "resolu.h" |
12 | #include "rmatrix.h" | |
13 | #include "calcomp.h" | |
14 | #include "paths.h" | |
# | Line 391 | 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, |
395 | < | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |