From 7b4de8c2a58f828bb42e1a1f1f5b3421363f2556 Mon Sep 17 00:00:00 2001 From: torset Date: Fri, 13 Feb 2009 13:52:38 +0000 Subject: modify isempty headers which make the c files usseless --- src/auxiliaryFunctions/includes/isempty.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/auxiliaryFunctions/includes/isempty.h') 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__ */ -- cgit