aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-15 17:44:52 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:20 +0100
commitcd6afc9e3ebc559d724c3a5dcda4be9fc5e205a5 (patch)
tree3d5b073e3e856273252bf330059b22322436bf9a
parent8ac49af1e7435f75345ec82ba10e1bf416853cb0 (diff)
process_hkl: Fix symmetry
-rw-r--r--src/process_hkl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c
index 3e2a4900..90428426 100644
--- a/src/process_hkl.c
+++ b/src/process_hkl.c
@@ -136,14 +136,15 @@ static void merge_pattern(RefList *model, RefList *new, int max_only,
double model_int;
get_indices(refl, &h, &k, &l);
+
+ /* Put into the asymmetric unit for the target group */
+ get_asymm(h, k, l, &h, &k, &l, sym);
+
model_version = find_refl(model, h, k, l);
if ( model_version == NULL ) {
model_version = add_refl(model, h, k, l);
}
- /* Put into the asymmetric unit for the target group */
- get_asymm(h, k, l, &h, &k, &l, sym);
-
/* Read the intensity from the original location
* (i.e. before screwing around with symmetry) */
intensity = get_intensity(refl);