diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mtx_abs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mtx_abs.c b/src/mtx_abs.c index 81f0eb0..5480be9 100644 --- a/src/mtx_abs.c +++ b/src/mtx_abs.c @@ -32,8 +32,8 @@ static void mtx_abs_matrix(t_mtx_binmtx *x, t_symbol *s, int argc, t_atom *argv) m = x->m.atombuffer+2; while(n--){ - t_float f = (t_float)abs(atom_getfloat(argv++)); - SETFLOAT(m, f); + t_float f = atom_getfloat(argv++); + SETFLOAT(m, (t_float)fabs(f)); m++; } |