diff options
author | Thomas White <taw@physics.org> | 2018-06-18 14:58:39 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-06-18 15:02:24 +0200 |
commit | 878bb6f781841df45a18617f6f174e968ad2a2d2 (patch) | |
tree | 7e3c182a5652aecee988c27ac4a7a45069ab7438 /src | |
parent | 6379c42e97a2bb8821808a430e3a13212b547ad6 (diff) |
Get rid of "selector"
Diffstat (limited to 'src')
-rw-r--r-- | src/indexamajig.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 352ce200..424ac474 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -342,7 +342,7 @@ int main(int argc, char *argv[]) iargs.taketwo_opts.angle_tol = -1.0; iargs.taketwo_opts.trace_tol = -1.0; iargs.xgandalf_opts.sampling_pitch = 6; - iargs.xgandalf_opts.grad_desc_iteration_selector = 4; + iargs.xgandalf_opts.grad_desc_iterations = 4; iargs.xgandalf_opts.tolerance = 0.02; iargs.xgandalf_opts.no_deviation_from_provided_cell = 0; iargs.xgandalf_opts.minLatticeVectorLength_A = 30; @@ -815,15 +815,15 @@ int main(int argc, char *argv[]) case 351: if (sscanf(optarg, "%u", &iargs.xgandalf_opts.sampling_pitch) != 1) { - ERROR("Invalid value for --xgandalf-sampling-pitch-selector\n"); + ERROR("Invalid value for --xgandalf-sampling-pitch\n"); return 1; } break; case 352: - if (sscanf(optarg, "%u", &iargs.xgandalf_opts.grad_desc_iteration_selector) != 1) + if (sscanf(optarg, "%u", &iargs.xgandalf_opts.grad_desc_iterations) != 1) { - ERROR("Invalid value for --xgandalf-grad-desc-iterations-selector\n"); + ERROR("Invalid value for --xgandalf-grad-desc-iterations\n"); return 1; } break; |