aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/grainspotter.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/grainspotter.c')
-rw-r--r--libcrystfel/src/grainspotter.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libcrystfel/src/grainspotter.c b/libcrystfel/src/grainspotter.c
index 8bdb03aa..8def8091 100644
--- a/libcrystfel/src/grainspotter.c
+++ b/libcrystfel/src/grainspotter.c
@@ -482,10 +482,8 @@ IndexingPrivate *grainspotter_prepare(IndexingMethod *indm, UnitCell *cell,
if ( gp == NULL ) return NULL;
/* Flags that GrainSpotter knows about */
- *indm &= INDEXING_METHOD_MASK | INDEXING_CHECK_PEAKS;
-
- /* Flags that GrainSpotter requires */
- *indm |= INDEXING_USE_LATTICE_TYPE;
+ *indm &= INDEXING_METHOD_MASK | INDEXING_CHECK_PEAKS
+ | INDEXING_USE_LATTICE_TYPE | INDEXING_USE_CELL_PARAMETERS;
gp->cell = cell;
gp->indm = *indm;