changeset 203:302eab34dc88

Add additional error code XTRACT_ARGUMENT_ERROR
author Jamie Bullock <jamie@jamiebullock.com>
date Fri, 07 Mar 2014 22:14:04 +0000
parents 5176462e2797
children f262144347e7
files xtract/libxtract.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/xtract/libxtract.h	Fri Mar 07 21:42:46 2014 +0000
+++ b/xtract/libxtract.h	Fri Mar 07 22:14:04 2014 +0000
@@ -173,7 +173,8 @@
     XTRACT_BAD_VECTOR_SIZE,
     XTRACT_DENORMAL_FOUND,
     XTRACT_NO_RESULT, /* This usually occurs when the correct calculation cannot take place because required data is missing or would result in a NaN or infinity/-infinity. Under these curcumstances 0.f is usually given by *result */
-    XTRACT_FEATURE_NOT_IMPLEMENTED
+    XTRACT_FEATURE_NOT_IMPLEMENTED,
+    XTRACT_ARGUMENT_ERROR
 };
 
 /** \brief Enumeration of spectrum types */