aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-11-23 16:43:04 +0100
committerThomas White <taw@physics.org>2017-11-23 16:44:36 +0100
commit4e8858bcb532a3c90844c48194792237f611d524 (patch)
treeb5ce1c2b77d85bae3ef200ad1fec4880e2b86c17
parente8f59bff7eb9e5bd8003319ef542e6f4b3a3b111 (diff)
Fix wrong assertion
Whoops.
-rw-r--r--libcrystfel/src/symmetry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/symmetry.c b/libcrystfel/src/symmetry.c
index d675fb30..4cc1e63e 100644
--- a/libcrystfel/src/symmetry.c
+++ b/libcrystfel/src/symmetry.c
@@ -1173,7 +1173,7 @@ void special_position(const SymOpList *ops, SymOpMask *m,
signed int *ktest;
signed int *ltest;
- assert(m->list = ops);
+ assert(m->list == ops);
n = num_equivs(ops, NULL);
htest = malloc(n*sizeof(signed int));