diff options
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 ac017ee5..7736f370 100644 --- a/src/auxiliaryFunctions/isempty/cisemptya.c +++ b/src/auxiliaryFunctions/isempty/cisemptya.c @@ -14,11 +14,11 @@ float cisemptya(floatComplex* x, int size) { float* out; - int indiceOut; + int indiceOut[2] = {0}; out = malloc((uint)size*sizeof(float)); - cfinda(x, size, out, &indiceOut); + cfinda(x, size, out, indiceOut); if ( out[0] == -1 /*ie tab=NULL*/) { free(out); |