aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-09-11 11:12:48 +0200
committerThomas White <taw@physics.org>2019-09-12 16:35:52 +0200
commit8d8ce4a3c7b340c1ce7d538c29fd08c59190d288 (patch)
tree4d8c46a3c6cc7d35b89777587e98cc3ebc03a72c /libcrystfel
parent8464b6465b57a2ebfedf4f8cc56b37040eb49330 (diff)
Fix logic
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index a3479a6c..440a5b97 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -423,7 +423,7 @@ IndexingPrivate *setup_indexing(const char *method_list, UnitCell *cell,
if ( ipriv->engine_private[i] == NULL ) return NULL;
- if ( methods[i] & INDEXING_PINKINDEXER ) {
+ if ( (methods[i] & INDEXING_METHOD_MASK) == INDEXING_PINKINDEXER ) {
if ( n > 1 ) {
ERROR("WARNING: Using PinkIndexer at the same "
"time as other indexers is not "