diff options
author | Thomas White <taw@physics.org> | 2013-02-27 14:51:07 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-02-27 14:51:07 +0100 |
commit | 4dfa8ed5e47fedc4fa570c80efeb1c548ea90cdc (patch) | |
tree | 5804739e63467501988748e7bce2571f464ce01e | |
parent | d14463c19b5187fc9674ad907cd30766d34de0d2 (diff) |
get_hkl: Fix --expand
-rw-r--r-- | src/get_hkl.c | 6 |
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; } |