diff options
Diffstat (limited to 'src/partialator.c')
-rw-r--r-- | src/partialator.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <getopt.h> #include <assert.h> #include <pthread.h> +#include <gsl/gsl_errno.h> #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"); |