From 8d8ce4a3c7b340c1ce7d538c29fd08c59190d288 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 11 Sep 2019 11:12:48 +0200 Subject: Fix logic --- libcrystfel/src/index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcrystfel') 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 " -- cgit v1.2.3