From de2237fc3f193e4f4916e3bc9268e52378fad939 Mon Sep 17 00:00:00 2001 From: Valerio Mariani Date: Fri, 10 Mar 2017 20:04:25 +0100 Subject: Fixed a couple of bugs reported by Tom --- libcrystfel/src/peakfinder8.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'libcrystfel/src/peakfinder8.c') diff --git a/libcrystfel/src/peakfinder8.c b/libcrystfel/src/peakfinder8.c index 2af8608a..c312e120 100644 --- a/libcrystfel/src/peakfinder8.c +++ b/libcrystfel/src/peakfinder8.c @@ -370,7 +370,7 @@ static int compute_radial_stats(float ** panel_data, for ( it_counter=0 ; it_counter curr_threshold && @@ -762,7 +763,8 @@ static int peakfinder8_multipanel(float *roffset, float *rthreshold, sum_com_fs = 0; sum_com_ss = 0; - do { + do { + lt_num_pix_in_pk = num_pix_in_peak; for ( p=0; p