From 878bb6f781841df45a18617f6f174e968ad2a2d2 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 18 Jun 2018 14:58:39 +0200 Subject: Get rid of "selector" --- libcrystfel/src/xgandalf.c | 2 +- libcrystfel/src/xgandalf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libcrystfel') 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; diff --git a/libcrystfel/src/xgandalf.h b/libcrystfel/src/xgandalf.h index be9033cb..5bfe8085 100644 --- a/libcrystfel/src/xgandalf.h +++ b/libcrystfel/src/xgandalf.h @@ -14,7 +14,7 @@ struct xgandalf_options { unsigned int sampling_pitch; - unsigned int grad_desc_iteration_selector; + unsigned int grad_desc_iterations; float tolerance; unsigned int no_deviation_from_provided_cell; float minLatticeVectorLength_A; -- cgit v1.2.3