From a2c6ed14519f019b157eac1aac66d9528dd9208a Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 24 Aug 2009 09:20:03 +0000 Subject: updating *find2d for loops order in order to have the result in the same result than scilab updating *find* prototype , adding to all a argument "int max" , in order to avoid useless computation when only a limited number of results is requested --- src/c/auxiliaryFunctions/find2d/testFind2d.c | 62 ++++++++++++++-------------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'src/c/auxiliaryFunctions/find2d/testFind2d.c') diff --git a/src/c/auxiliaryFunctions/find2d/testFind2d.c b/src/c/auxiliaryFunctions/find2d/testFind2d.c index b726ab7d..a6f38b56 100644 --- a/src/c/auxiliaryFunctions/find2d/testFind2d.c +++ b/src/c/auxiliaryFunctions/find2d/testFind2d.c @@ -30,7 +30,7 @@ int sfind2daTest() { printf(">> Floats \n"); /* Test tab 1 ligne 6 colonnes */ - sfind2da(goodArray, 1, 6, out1Good, size1, out2Good, size2); + sfind2da(goodArray, 1, 6, out1Good, size1, out2Good, size2 , -1); for (i=0;i> Double \n"); /* Test tab 1 ligne 6 colonnes */ - dfind2da(goodArray, 1, 6, out1Good, size1, out2Good, size2); + dfind2da(goodArray, 1, 6, out1Good, size1, out2Good, size2,-1); for (i=0;i> Float Complex \n"); /* Test tab 1 ligne 6 colonnes */ - cfind2da(goodArray, 1, 6, out1Good, size1, out2Good, size2); + cfind2da(goodArray, 1, 6, out1Good, size1, out2Good, size2,-1); for (i=0;i> Double Complex \n"); /* Test tab 1 ligne 6 colonnes */ - zfind2da(goodArray, 1, 6, out1Good, size1, out2Good, size2); + zfind2da(goodArray, 1, 6, out1Good, size1, out2Good, size2,-1); for (i=0;i