aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-05-24 10:32:43 +0200
committerThomas White <taw@physics.org>2018-05-24 15:21:18 +0200
commitd3f9ed0a184bea13ba36c4291b593ecd7a91fc14 (patch)
tree57f8aca2c7889078fa3ddd73d298614977f85d10 /libcrystfel
parentfce9cd58362d09366c8a1c474017ef3e63f0b3aa (diff)
Generalise peakfinder9 error messages, and fail if not compiled in
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/peaks.c2
1 files changed, 1 insertions, 1 deletions
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