diff options
author | Parker de Waal <Parker.deWaal@vai.org> | 2014-04-11 10:45:13 -0400 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-04-14 13:42:27 +0200 |
commit | 76bb7c35789f334895df71a017ae0d813ce4f4f8 (patch) | |
tree | 2163596e56d6fba2acb5b58b5fc227a60ae20987 /src/ambigator.c | |
parent | b123d2b9d900c9049de0a1110e0909f070db3a3a (diff) |
Fixed operator error in ambigator
Diffstat (limited to 'src/ambigator.c')
-rw-r--r-- | src/ambigator.c | 2 |
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); |