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