diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-10-12 21:53:11 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:02 +0100 |
commit | 978eded5cb4077aaf0071d56b78eb170325e0ec0 (patch) | |
tree | b3c69682176ac359d04ee0f44370260dafb2e966 /src/process_hkl.c | |
parent | a71089c6d47f5c01eaa697fc90b4166e47985831 (diff) |
process_hkl: Fix a serious problem
Diffstat (limited to 'src/process_hkl.c')
-rw-r--r-- | src/process_hkl.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 ) { |