aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mtx_abs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mtx_abs.c b/src/mtx_abs.c
index 5480be9..22c4824 100644
--- a/src/mtx_abs.c
+++ b/src/mtx_abs.c
@@ -51,7 +51,7 @@ static void mtx_abs_list(t_mtx_binscalar *x, t_symbol *s, int argc, t_atom *argv
while(n--){
m->a_type = A_FLOAT;
- (m++)->a_w.w_float = (t_float)abs(atom_getfloat(argv++));
+ (m++)->a_w.w_float = (t_float)fabs(atom_getfloat(argv++));
}
outlet_list(x->x_obj.ob_outlet, gensym("list"), argc, x->m.atombuffer);