diff options
author | Farid Belahcene <farid.belahcene@inria.fr> | 2006-09-01 09:26:00 +0000 |
---|---|---|
committer | Farid Belahcene <farid.belahcene@inria.fr> | 2006-09-01 09:26:00 +0000 |
commit | 272c19bfb20ef5c9db9e272e5f14392d4e6aeee3 (patch) | |
tree | 163a9b507e89562a9cbc667239befa33c85e8ffb /scilab_doc | |
parent | 35e5cb95100801a66ebc7a94ebbcd35b5fb3b2ce (diff) | |
download | scilab-272c19bfb20ef5c9db9e272e5f14392d4e6aeee3.zip scilab-272c19bfb20ef5c9db9e272e5f14392d4e6aeee3.tar.gz |
New modifications
Diffstat (limited to 'scilab_doc')
-rw-r--r-- | scilab_doc/toolbox_guide/toolbox_example/src/fun2.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scilab_doc/toolbox_guide/toolbox_example/src/fun2.c b/scilab_doc/toolbox_guide/toolbox_example/src/fun2.c index fb26887..0c2e855 100644 --- a/scilab_doc/toolbox_guide/toolbox_example/src/fun2.c +++ b/scilab_doc/toolbox_guide/toolbox_example/src/fun2.c | |||
@@ -1,8 +1,8 @@ | |||
1 | void fun2(double * a, int na, int * m) | 1 | void fun2(double * a, int na, int * nx) |
2 | { | 2 | { |
3 | int i; | 3 | int i; |
4 | *m=0; | 4 | *nx=0; |
5 | for(i=0;i<na;i++) | 5 | for(i=0;i<na;i++) |
6 | if (a[i]>0) | 6 | if (a[i]>0) |
7 | (*m)++; | 7 | (*nx)++; |
8 | } \ No newline at end of file | 8 | } \ No newline at end of file |