aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-06-15 10:49:51 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:28 +0100
commit0d4678c9ac6ae0d271f3da3e12a37059b22e3828 (patch)
tree11e73b8214879b608c115d83b66efea95c49207f
parent665f9722d96642000f9821c28f0c3fceb2406b10 (diff)
Set redundancy to zero if peak can't be integrated
This should fix the reappearance of "no_index-ed" peaks in stream files.
-rw-r--r--src/peaks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/peaks.c b/src/peaks.c
index 61f5fa5a..f4bfb650 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -568,6 +568,8 @@ void integrate_reflections(struct image *image, int polar, int use_closer,
set_int(refl, intensity);
set_esd_intensity(refl, sigma);
set_redundancy(refl, 1);
+ } else {
+ set_redundancy(refl, 0);
}
}