aboutsummaryrefslogtreecommitdiff
path: root/src/crystfelindexingopts.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-10-26 15:06:38 +0100
committerThomas White <taw@physics.org>2020-10-26 15:08:50 +0100
commit2089e6e3c0a34430239dce596bc27db30611ac2f (patch)
tree0b269fba30065b28c51ca3456313d26347fc58e5 /src/crystfelindexingopts.c
parent6819e268a8401fec0001812e7612909b3211fab1 (diff)
Label all uses of cell tolerances
I'm sick of fixing this same issue over and over again. New rule: any code handling unit cell tolerances MUST be labelled with details of units.
Diffstat (limited to 'src/crystfelindexingopts.c')
-rw-r--r--src/crystfelindexingopts.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/crystfelindexingopts.c b/src/crystfelindexingopts.c
index e4e2ffd3..e9e9ab3e 100644
--- a/src/crystfelindexingopts.c
+++ b/src/crystfelindexingopts.c
@@ -567,6 +567,8 @@ int crystfel_indexing_opts_get_cell_check(CrystFELIndexingOpts *opts)
}
+
+/* Values in 'tols' are in frac (not %) and rad */
void crystfel_indexing_opts_get_tolerances(CrystFELIndexingOpts *opts,
float *tols)
{
@@ -785,6 +787,7 @@ void crystfel_indexing_opts_set_cell_check(CrystFELIndexingOpts *opts,
}
+/* Values in 'tols' are in frac (not %) and rad */
void crystfel_indexing_opts_set_tolerances(CrystFELIndexingOpts *opts,
float *tols)
{