aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-06-18 14:58:39 +0200
committerThomas White <taw@physics.org>2018-06-18 15:02:24 +0200
commit878bb6f781841df45a18617f6f174e968ad2a2d2 (patch)
tree7e3c182a5652aecee988c27ac4a7a45069ab7438 /libcrystfel/src
parent6379c42e97a2bb8821808a430e3a13212b547ad6 (diff)
Get rid of "selector"
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/xgandalf.c2
-rw-r--r--libcrystfel/src/xgandalf.h2
2 files changed, 2 insertions, 2 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;
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;