aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParker de Waal <Parker.deWaal@vai.org>2014-04-11 10:45:13 -0400
committerThomas White <taw@physics.org>2014-04-14 13:42:27 +0200
commit76bb7c35789f334895df71a017ae0d813ce4f4f8 (patch)
tree2163596e56d6fba2acb5b58b5fc227a60ae20987
parentb123d2b9d900c9049de0a1110e0909f070db3a3a (diff)
Fixed operator error in ambigator
-rw-r--r--src/ambigator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ambigator.c b/src/ambigator.c
index c55148b3..63d4ef1a 100644
--- a/src/ambigator.c
+++ b/src/ambigator.c
@@ -115,7 +115,7 @@ static struct flist *asymm_and_merge(RefList *in, const SymOpList *sym,
get_indices(refl, &h, &k, &l);
- if ( cell != NULL ) {
+ if ( cell == NULL ) {
ERROR("Can't calculate resolution cutoff - no cell\n");
} else {
res = 2.0*resolution(cell, h, k, l);