diff options
-rw-r--r-- | libcrystfel/src/index.c | 2 |
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 " |