summaryrefslogtreecommitdiff
path: root/gsl-1.9/cdf/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'gsl-1.9/cdf/error.h')
-rw-r--r--gsl-1.9/cdf/error.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gsl-1.9/cdf/error.h b/gsl-1.9/cdf/error.h
new file mode 100644
index 0000000..83db7ba
--- /dev/null
+++ b/gsl-1.9/cdf/error.h
@@ -0,0 +1,4 @@
+/* CDF_ERROR: call the error handler, and return a NAN. */
+
+#define CDF_ERROR(reason, gsl_errno) GSL_ERROR_VAL(reason, gsl_errno, GSL_NAN)
+