From 76bb7c35789f334895df71a017ae0d813ce4f4f8 Mon Sep 17 00:00:00 2001 From: Parker de Waal Date: Fri, 11 Apr 2014 10:45:13 -0400 Subject: Fixed operator error in ambigator --- src/ambigator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3