From 978eded5cb4077aaf0071d56b78eb170325e0ec0 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 12 Oct 2010 21:53:11 +0200 Subject: process_hkl: Fix a serious problem --- src/process_hkl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/process_hkl.c') diff --git a/src/process_hkl.c b/src/process_hkl.c index 74f90402..1bef1a62 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -258,7 +258,9 @@ static void merge_pattern(double *model, ReflItemList *observed, /* Put into the asymmetric cell for the target group */ get_asymm(h, k, l, &h, &k, &l, mero); - intensity = lookup_intensity(new, h, k, l); + /* Read the intensity from the original location + * (i.e. before screwing around with symmetry) */ + intensity = lookup_intensity(new, hs, ks, ls); /* User asked for max only? */ if ( !mo ) { -- cgit v1.2.3