From 8ae238359607dababf9ffc98613aa57d28f3ee04 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 2 May 2011 16:48:39 +0200 Subject: partialator: Fail a bit more gracefully if equations can't be solved --- src/partialator.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/partialator.c') diff --git a/src/partialator.c b/src/partialator.c index dc29d0d6..a410c507 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "utils.h" #include "hdf5-file.h" @@ -274,6 +275,8 @@ int main(int argc, char *argv[]) } STATUS("There are %i patterns to process\n", n_total_patterns); + gsl_set_error_handler_off(); + images = malloc(n_total_patterns * sizeof(struct image)); if ( images == NULL ) { ERROR("Couldn't allocate memory for images.\n"); -- cgit v1.2.3