summaryrefslogtreecommitdiff
path: root/src/c/auxiliaryFunctions/interfaces/int_conj.h
diff options
context:
space:
mode:
authorsimon2009-08-24 09:20:03 +0000
committersimon2009-08-24 09:20:03 +0000
commita2c6ed14519f019b157eac1aac66d9528dd9208a (patch)
treee6f48a413cdafa1efe94ab8ec723d013cc55ae3a /src/c/auxiliaryFunctions/interfaces/int_conj.h
parent839d659e6b1c25be20bd556aba6386eaceb1245f (diff)
downloadscilab2c-a2c6ed14519f019b157eac1aac66d9528dd9208a.tar.gz
scilab2c-a2c6ed14519f019b157eac1aac66d9528dd9208a.tar.bz2
scilab2c-a2c6ed14519f019b157eac1aac66d9528dd9208a.zip
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
Diffstat (limited to 'src/c/auxiliaryFunctions/interfaces/int_conj.h')
-rw-r--r--src/c/auxiliaryFunctions/interfaces/int_conj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/auxiliaryFunctions/interfaces/int_conj.h b/src/c/auxiliaryFunctions/interfaces/int_conj.h
index e37819e4..f54de243 100644
--- a/src/c/auxiliaryFunctions/interfaces/int_conj.h
+++ b/src/c/auxiliaryFunctions/interfaces/int_conj.h
@@ -15,7 +15,7 @@
#ifndef __INT_CONJ_H__
#define __INT_CONJ_H__
-#define copy(in, size, out) {int i;for (i=0; i<size;i++) out[i]=in[i];}
+#define copy(in,size,out) {int i;for (i=0; i<size[0]*size[1];i++) out[i]=in[i];}
#define s0conjs0(in) in