summaryrefslogtreecommitdiff
path: root/lib/GSL/gsl-aux.c
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2007-09-11 17:34:24 +0000
committerAlberto Ruiz <aruiz@um.es>2007-09-11 17:34:24 +0000
commitcd937c2be2900b8f13506d9ae7c731ad43d74e05 (patch)
tree8a4161c6510aac58b3ab85041145fb19ea6c5615 /lib/GSL/gsl-aux.c
parent834b4837799611fd7fbaa9609ea587e041cb0ca1 (diff)
allow setting off GSL default error handler
Diffstat (limited to 'lib/GSL/gsl-aux.c')
-rw-r--r--lib/GSL/gsl-aux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/GSL/gsl-aux.c b/lib/GSL/gsl-aux.c
index fc95e6f..eec3e5f 100644
--- a/lib/GSL/gsl-aux.c
+++ b/lib/GSL/gsl-aux.c
@@ -64,6 +64,11 @@
64#define BAD_FILE 1003 64#define BAD_FILE 1003
65 65
66 66
67void no_abort_on_error() {
68 gsl_set_error_handler_off();
69}
70
71
67int toScalarR(int code, KRVEC(x), RVEC(r)) { 72int toScalarR(int code, KRVEC(x), RVEC(r)) {
68 REQUIRES(rn==1,BAD_SIZE); 73 REQUIRES(rn==1,BAD_SIZE);
69 DEBUGMSG("toScalarR"); 74 DEBUGMSG("toScalarR");