From 636eb6116961296791bae35c40fd9438aa946827 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 8 May 2019 14:37:27 +0200 Subject: Remove image.num_peaks and num_saturated_peaks These values were inconsistently set by different parts of the code, e.g. different peak search methods. num_saturated_peaks was even set during final integration. Now, the peak count is taken from the ImageFeatureList, so it's authoritative. --- src/partial_sim.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/partial_sim.c b/src/partial_sim.c index 012b0a59..92f9703c 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -841,8 +841,6 @@ int main(int argc, char *argv[]) image.crystals = NULL; image.n_crystals = 0; image.indexed_by = INDEXING_SIMULATION; - image.num_peaks = 0; - image.num_saturated_peaks = 0; image.spectrum_size = 0; image.spectrum0 = NULL; image.serial = 0; -- cgit v1.2.3