aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-02-27 14:51:07 +0100
committerThomas White <taw@physics.org>2013-02-27 14:51:07 +0100
commit4dfa8ed5e47fedc4fa570c80efeb1c548ea90cdc (patch)
tree5804739e63467501988748e7bce2571f464ce01e
parentd14463c19b5187fc9674ad907cd30766d34de0d2 (diff)
get_hkl: Fix --expand
-rw-r--r--src/get_hkl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c
index c879a51a..e69beb51 100644
--- a/src/get_hkl.c
+++ b/src/get_hkl.c
@@ -254,9 +254,9 @@ static RefList *expand_reflections(RefList *in, const SymOpList *initial,
RefList *out;
SymOpMask *m;
- if ( !is_subgroup(target, initial) ) {
- ERROR("%s is not a subgroup of %s!\n", symmetry_name(initial),
- symmetry_name(target));
+ if ( !is_subgroup(initial, target) ) {
+ ERROR("%s is not a subgroup of %s!\n", symmetry_name(target),
+ symmetry_name(initial));
return NULL;
}