From d3f9ed0a184bea13ba36c4291b593ecd7a91fc14 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 24 May 2018 10:32:43 +0200 Subject: Generalise peakfinder9 error messages, and fail if not compiled in --- libcrystfel/src/peaks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c index 14371271..1ec4ae59 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -665,7 +665,7 @@ int search_peaks_peakfinder9(struct image *image, float sig_fac_biggest_pix, int window_radius) { ERROR("This copy of CrystFEL was compiled without peakfinder9 support.\n"); - return 0; + return 1; } #endif // HAVE_FDIP -- cgit v1.2.3