diff options
author | Thomas White <taw@physics.org> | 2020-08-31 14:37:46 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-31 14:37:46 +0200 |
commit | f5d539e4e4aabf2ef5c8c5cb066de123611f3b42 (patch) | |
tree | d7055db288ad82b47d2b45343b945f907230566e /src/gui_index.c | |
parent | b73c17de060a18051e61c48b66d5e1494b20a504 (diff) |
GUI: Fix units of tolerances
Diffstat (limited to 'src/gui_index.c')
-rw-r--r-- | src/gui_index.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui_index.c b/src/gui_index.c index a5655a8c..a0027f82 100644 --- a/src/gui_index.c +++ b/src/gui_index.c @@ -691,12 +691,12 @@ char **indexamajig_command_line(const char *geom_filename, add_arg(args, n_args++, indexing_params->cell_file); } snprintf(tols, 2048, "--tolerance=%f,%f,%f,%f,%f,%f", - indexing_params->tols[0], - indexing_params->tols[1], - indexing_params->tols[2], - indexing_params->tols[3], - indexing_params->tols[4], - indexing_params->tols[5]); + rad2deg(indexing_params->tols[0]), + rad2deg(indexing_params->tols[1]), + rad2deg(indexing_params->tols[2]), + rad2deg(indexing_params->tols[3]), + rad2deg(indexing_params->tols[4]), + rad2deg(indexing_params->tols[5])); add_arg(args, n_args++, tols); if ( indexing_params->multi ) add_arg(args, n_args++, "--multi"); if ( indexing_params->no_refine ) add_arg(args, n_args++, "--no-refine"); |