aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index b00f13aa..644ea31f 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -181,6 +181,7 @@ IndexingPrivate *setup_indexing(const char *method_list, UnitCell *cell,
free(methods);
return NULL;
}
+ if ( no_refine ) methods[i] &= ~INDEXING_REFINE;
}
ipriv = malloc(sizeof(struct _indexingprivate));