diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-01-03 12:28:27 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-01-03 12:28:27 +0000 |
commit | c3a067dc355fc57a5759d4e9a97bcbcd878caf13 (patch) | |
tree | 2035f23ed32392b7d7b92baf9fac1d4dc23e4cac /src/mtx_conv.c | |
parent | 205992dca4afb92591c09353373244ce14204b52 (diff) |
pedantic and C99
svn path=/trunk/externals/iem/iemmatrix/; revision=9114
Diffstat (limited to 'src/mtx_conv.c')
-rw-r--r-- | src/mtx_conv.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mtx_conv.c b/src/mtx_conv.c index b09b143..43655f4 100644 --- a/src/mtx_conv.c +++ b/src/mtx_conv.c @@ -221,7 +221,7 @@ static void mTXConvMatrix (MTXConv *mtx_conv_obj, t_symbol *s, int size_y = mtx_conv_obj->size_y; t_atom *list_ptr = mtx_conv_obj->list; - // fftsize check + /* fftsize check */ if (!size){ post("mtx_conv: invalid dimensions"); return; @@ -233,8 +233,6 @@ static void mTXConvMatrix (MTXConv *mtx_conv_obj, t_symbol *s, return; } - // post("1"); - if ((mtx_conv_obj->rows != rows)||(mtx_conv_obj->columns != columns)) { if (mtx_conv_obj->x) deleteTFloatMatrix (mtx_conv_obj->rows, mtx_conv_obj->columns, @@ -248,7 +246,6 @@ static void mTXConvMatrix (MTXConv *mtx_conv_obj, t_symbol *s, mtx_conv_obj->rows = rows; mtx_conv_obj->columns = columns; } - //post("2"); rows_y = rows+rows_k-1; columns_y = columns+columns_k-1; if ((mtx_conv_obj->rows_y != rows_y)||(mtx_conv_obj->columns_y != columns_y)) { @@ -277,7 +274,7 @@ static void mTXConvMatrix (MTXConv *mtx_conv_obj, t_symbol *s, } } - // main part + /* main part */ readMatrixFromList (rows, columns, argv, mtx_conv_obj->x); convolveMtx (rows, columns, rows_k, columns_k, @@ -289,7 +286,6 @@ static void mTXConvMatrix (MTXConv *mtx_conv_obj, t_symbol *s, SETFLOAT(&list_ptr[1], columns_y); outlet_anything(mtx_conv_obj->list_outlet, gensym("matrix"), size_y+2, list_ptr); - //post("7"); } void mtx_conv_setup (void) |