aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/xgandalf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/xgandalf.c')
-rw-r--r--libcrystfel/src/xgandalf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/xgandalf.c b/libcrystfel/src/xgandalf.c
index f40391c8..69275ba7 100644
--- a/libcrystfel/src/xgandalf.c
+++ b/libcrystfel/src/xgandalf.c
@@ -124,7 +124,7 @@ void *xgandalf_prepare(IndexingMethod *indm,
float tolerance = xgandalf_opts->tolerance;
samplingPitch_t samplingPitch = xgandalf_opts->sampling_pitch;
gradientDescentIterationsCount_t gradientDescentIterationsCount =
- xgandalf_opts->grad_desc_iteration_selector;
+ xgandalf_opts->grad_desc_iterations;
if (*indm & INDEXING_USE_CELL_PARAMETERS) {
xgandalf_private_data->cellTemplate = cell;