diff options
author | Franz Zotter <fzotter@users.sourceforge.net> | 2007-08-25 10:09:17 +0000 |
---|---|---|
committer | Franz Zotter <fzotter@users.sourceforge.net> | 2007-08-25 10:09:17 +0000 |
commit | dd1be46a5fd503ec94df964248ad5a0323b0dc2a (patch) | |
tree | 2fd7a41f52f0592be3e2550eb899ef90d9c2b078 /src | |
parent | c06087f322d92c890df29b9219fe8701c1feca4b (diff) |
corrections
svn path=/trunk/externals/iem/iemmatrix/; revision=8688
Diffstat (limited to 'src')
-rw-r--r-- | src/mtx_max2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mtx_max2.c b/src/mtx_max2.c index 6e1c044..3ad68bf 100644 --- a/src/mtx_max2.c +++ b/src/mtx_max2.c @@ -36,7 +36,7 @@ static void mtx_max2scalar_matrix(t_mtx_binscalar *x, t_symbol *s, int argc, t_a while(n--){ buf->a_type = A_FLOAT; - buf++->a_w.w_float = (atom_getfloat(ap)<offset)?:offset:atom_getfloat(ap); + buf++->a_w.w_float = (atom_getfloat(ap)<offset)?offset:atom_getfloat(ap); ap++; } outlet_anything(x->x_obj.ob_outlet, gensym("matrix"), argc, x->m.atombuffer); @@ -51,7 +51,7 @@ static void mtx_max2scalar_list(t_mtx_binscalar *x, t_symbol *s, int argc, t_ato while(n--){ m->a_type = A_FLOAT; - (m++)->a_w.w_float = (atom_getfloat(argv)<offset)?:offset:atom_getfloat(argv); + (m++)->a_w.w_float = (atom_getfloat(argv)<offset)?offset:atom_getfloat(argv); argv++; } outlet_list(x->x_obj.ob_outlet, gensym("list"), argc, x->m.atombuffer); |