diff options
Diffstat (limited to 'src/mtx_max2.c')
-rw-r--r-- | src/mtx_max2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mtx_max2.c b/src/mtx_max2.c index 27da1f3..a1c7606 100644 --- a/src/mtx_max2.c +++ b/src/mtx_max2.c @@ -109,7 +109,7 @@ static void mtx_max2_float(t_mtx_binmtx *x, t_float f) n=row2*col2; while(n--){ - SETFLOAT(ap, f+atom_getfloat(ap2++)); + SETFLOAT(ap, (f>atom_getfloat(ap2))?f:atom_getfloat(ap2)); ap++; } |