From 5fb8c47ff706b0df164de7b46ea1e4846a5dbf2f Mon Sep 17 00:00:00 2001 From: Franz Zotter Date: Wed, 9 Aug 2006 19:26:19 +0000 Subject: forgot to check in corrections: mtx_fill didn't work correctly, a condition was wrong. mtx_find didn't check each entry because of a wrong loop condition. svn path=/trunk/externals/iem/iemmatrix/; revision=5540 --- src/mtx_fill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mtx_fill.c') diff --git a/src/mtx_fill.c b/src/mtx_fill.c index 84a022e..90fc7aa 100644 --- a/src/mtx_fill.c +++ b/src/mtx_fill.c @@ -296,7 +296,7 @@ static void mTXFillMatrix (MTXfill *mtx_fill_obj, t_symbol *s, } break; case FILL_INDEXED_ELEMENTS: - if (list_size > mtx_fill_obj->index_size) { + if (list_size < mtx_fill_obj->index_size) { post("mtx_fill: fill matrix smaller than indexing vector"); return; } -- cgit v1.2.1