diff options
Diffstat (limited to 'src/auxiliaryFunctions/isempty/sisEmptya.c')
-rw-r--r-- | src/auxiliaryFunctions/isempty/sisEmptya.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/auxiliaryFunctions/isempty/sisEmptya.c b/src/auxiliaryFunctions/isempty/sisEmptya.c new file mode 100644 index 00000000..af8a9860 --- /dev/null +++ b/src/auxiliaryFunctions/isempty/sisEmptya.c @@ -0,0 +1,23 @@ +/* +** -*- C -*- +** +** sisEmptya.c +** Made by Bruno JOFRET <bruno.jofret@inria.fr> +** +** Started on Wed Feb 14 14:59:33 2007 jofret +** Last update Wed Feb 14 15:25:32 2007 jofret +** +** Copyright INRIA 2007 +*/ + +#include <stdbool.h> +#include "notFound.h" + +int sfinda(float*, int); + +bool sisEmptya(float* x, int size) { + if (sfinda(x, size) == NOT_FOUND) { + return true; + } + return false; +} |