| # | Line 403 | Line 403 | cm_multiply(const CMATRIX *cm1, const CMATRIX *cm2) | |
|---|---|---|
| 403 | for (i = 0; i < cm1->ncols; i++) { | |
| 404 | const COLORV *cp1 = cm_lval(cm1,dr,i); | |
| 405 | const COLORV *cp2 = cm_lval(cm2,i,dc); | |
| 406 | < | res[0] += cp1[0] * cp2[0]; |
| 407 | < | res[1] += cp1[1] * cp2[1]; |
| 408 | < | res[2] += cp1[2] * cp2[2]; |
| 406 | > | res[0] += (double)cp1[0] * cp2[0]; |
| 407 | > | res[1] += (double)cp1[1] * cp2[1]; |
| 408 | > | res[2] += (double)cp1[2] * cp2[2]; |
| 409 | } | |
| 410 | copycolor(dp, res); | |
| 411 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |