diff options
Diffstat (limited to 'src/auxiliaryFunctions/includes/isempty.h')
-rw-r--r-- | src/auxiliaryFunctions/includes/isempty.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/auxiliaryFunctions/includes/isempty.h b/src/auxiliaryFunctions/includes/isempty.h index 80285647..daa21fa7 100644 --- a/src/auxiliaryFunctions/includes/isempty.h +++ b/src/auxiliaryFunctions/includes/isempty.h @@ -43,21 +43,21 @@ /* ** \brief Float Is Empty function */ -float sisemptya(float* x, int size); +#define sisemptya(in,size) (size==0) ? 1.0f : 0.0f /* ** \brief Double Is Empty function */ -double disemptya(double*x, int size); +#define disemptya(in,size) (size==0) ? 1.0 : 0.0 /* ** \brief Float Complex Is Empty function */ -float cisemptya(floatComplex* z, int size); +#define cisemptya(in,size) (size==0) ? 1.0f : 0.0f /* ** \brief Double Complex Is Empty function */ -double zisemptya(doubleComplex* z, int size); +#define zisemptya(in,size) (size==0) ? 1.0 : 0.0 #endif /* !__IS_EMPTY_H__ */ |