diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-18 09:56:50 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-18 09:56:50 +0000 |
commit | 3517975bac0925848e75bfab0ea13bd6b525c808 (patch) | |
tree | c3012babaa3519036d42b249b45fa58cbecb2159 | |
parent | 294843ad8b2efa314b2d6e719b87fecd036c73f4 (diff) |
fixed processing with float at hot-inlet
svn path=/trunk/externals/iem/iemmatrix/; revision=3729
-rw-r--r-- | src/mtx_binop_generic.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mtx_binop_generic.h b/src/mtx_binop_generic.h index 6c22cef..6d60ba3 100644 --- a/src/mtx_binop_generic.h +++ b/src/mtx_binop_generic.h @@ -149,16 +149,16 @@ static void mtxbin_float(t_mtx_binmtx *x, t_float f) ap=m->atombuffer+2; n=row2*col2; - while(n--){ + t_float f = #ifdef MTXBIN_GENERIC__INTEGEROP - ap->a_w.w_float = offset MTXBIN_GENERIC__OPERATOR atom_getint(ap2); + offset MTXBIN_GENERIC__OPERATOR atom_getint(ap2); #else - ap->a_w.w_float = offset MTXBIN_GENERIC__OPERATOR atom_getfloat(ap2); + offset MTXBIN_GENERIC__OPERATOR atom_getfloat(ap2); #endif + SETFLOAT(ap, f); ap++; ap2++; } - outlet_anything(x->x_obj.ob_outlet, gensym("matrix"), m->row*m->col+2, m->atombuffer); } static void *mtxbin_new(t_symbol *s, int argc, t_atom *argv) |