aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/dirax.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/dirax.c')
-rw-r--r--libcrystfel/src/dirax.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/libcrystfel/src/dirax.c b/libcrystfel/src/dirax.c
index ecf8a4fd..764a6be1 100644
--- a/libcrystfel/src/dirax.c
+++ b/libcrystfel/src/dirax.c
@@ -605,17 +605,6 @@ void *dirax_prepare(IndexingMethod *indm, UnitCell *cell,
struct detector *det, float *ltl)
{
struct dirax_private *dp;
- int need_cell = 0;
-
- if ( *indm & INDEXING_CHECK_CELL_COMBINATIONS ) need_cell = 1;
- if ( *indm & INDEXING_CHECK_CELL_AXES ) need_cell = 1;
-
- if ( need_cell && !cell_has_parameters(cell) ) {
- ERROR("Altering your DirAx flags because cell parameters were"
- " not provided.\n");
- *indm &= ~INDEXING_CHECK_CELL_COMBINATIONS;
- *indm &= ~INDEXING_CHECK_CELL_AXES;
- }
/* Flags that DirAx knows about */
*indm &= INDEXING_METHOD_MASK;