aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-02-11 15:32:17 +0100
committerThomas White <taw@physics.org>2020-02-11 15:32:17 +0100
commit3f9afa3905fd24599ed4ba3d3f13661e2b58d61d (patch)
tree3da0ff6f21352de623075a11f4969e65adf3574c /src/indexamajig.c
parentb00c033e3a8e65120ba338c0653401d1f8265ac3 (diff)
indexamajig: Fix incorrect units of default cell tolerance
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index c21c6290..a03955ba 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -635,9 +635,9 @@ int main(int argc, char *argv[])
args.iargs.tols[0] = 0.05;
args.iargs.tols[1] = 0.05;
args.iargs.tols[2] = 0.05;
- args.iargs.tols[3] = 1.5;
- args.iargs.tols[4] = 1.5;
- args.iargs.tols[5] = 1.5;
+ args.iargs.tols[3] = deg2rad(1.5);
+ args.iargs.tols[4] = deg2rad(1.5);
+ args.iargs.tols[5] = deg2rad(1.5);
args.iargs.threshold = 800.0;
args.iargs.min_sq_gradient = 100000.0;
args.iargs.min_snr = 5.0;