aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-04-25 10:59:34 +0200
committerThomas White <taw@physics.org>2018-04-25 12:11:21 +0200
commitf0336b8dfa3682408ae2a92141a0899f7ca20547 (patch)
tree7b743fbaef02f636db33cb7e75b976ab727e202e
parent6b182000d086237fd7e0e2f8aae9ed007d4ec990 (diff)
peakfinder8: Initialise lthreshold
-rw-r--r--libcrystfel/src/peakfinder8.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/peakfinder8.c b/libcrystfel/src/peakfinder8.c
index ca44d48f..3747fda6 100644
--- a/libcrystfel/src/peakfinder8.c
+++ b/libcrystfel/src/peakfinder8.c
@@ -1066,6 +1066,7 @@ int peakfinder8(struct image *img, int max_n_peaks,
for ( i=0 ; i<rstats->n_rad_bins ; i++) {
rstats->rthreshold[i] = 1e9;
+ rstats->lthreshold[i] = -1e9;
}
for ( it_counter=0 ; it_counter<iterations ; it_counter++ ) {