aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-04-13 17:11:31 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:24 +0100
commit60bb825ec2503e27def0c30ed9b5a39424d8c0a6 (patch)
tree4aa5b220da182a47cfa643a0ab438a1da7950b53
parentd016ebd2fbc4106fad20db0e96ff9ceb95971fcf (diff)
Set redundancy when simulating peaks
-rw-r--r--src/geometry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/geometry.c b/src/geometry.c
index 717f5725..914dadec 100644
--- a/src/geometry.c
+++ b/src/geometry.c
@@ -221,6 +221,7 @@ static int check_reflection(struct image *image, double mres, int output,
refl = add_refl(reflections, h, k, l);
set_detector_pos(refl, 0.0, xda, yda);
set_partial(refl, rlow, rhigh, part, clamp_low, clamp_high);
+ set_redundancy(refl, 1);
if ( output ) {
printf("%3i %3i %3i %6f (at %5.2f,%5.2f) %5.2f\n",