diff options
author | torset | 2009-02-04 14:29:03 +0000 |
---|---|---|
committer | torset | 2009-02-04 14:29:03 +0000 |
commit | 3401bb910b068bc0e0c83637d995ed5a68e3ff4f (patch) | |
tree | 226b4258d6ee9ecf28ae7d9fceb17b48e4ec09e7 /src/auxiliaryFunctions/isempty/cisemptya.c | |
parent | e49eaef87ef156c5b778a377f95a2e6e265b5530 (diff) | |
download | scilab2c-3401bb910b068bc0e0c83637d995ed5a68e3ff4f.tar.gz scilab2c-3401bb910b068bc0e0c83637d995ed5a68e3ff4f.tar.bz2 scilab2c-3401bb910b068bc0e0c83637d995ed5a68e3ff4f.zip |
Update isempty to avoid error message once again
Diffstat (limited to 'src/auxiliaryFunctions/isempty/cisemptya.c')
-rw-r--r-- | src/auxiliaryFunctions/isempty/cisemptya.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auxiliaryFunctions/isempty/cisemptya.c b/src/auxiliaryFunctions/isempty/cisemptya.c index e374626f..5f90c4c0 100644 --- a/src/auxiliaryFunctions/isempty/cisemptya.c +++ b/src/auxiliaryFunctions/isempty/cisemptya.c @@ -11,12 +11,12 @@ */ #include "isempty.h" -#include "length.h" +#include <stdio.h> float cisemptya(floatComplex* x, int size) { if (size!=0) - printf("%f+%f*i\n",x[0]); + printf("%f\n",creals(x[0])); return (size==0) ? 1.0f : 0.0f; |