aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-07-07 11:43:19 +0200
committerThomas White <taw@physics.org>2017-07-07 11:43:19 +0200
commit3ea6ecf3264ffa4541dfb121a1a684f3b0a3d4fc (patch)
treeb8eed10dcdce9ba331f78ec18de5993b731c3d63
parent2eda1de146f75d0116c968c9331bbf2a3d06bf89 (diff)
Convert angle_tol to radians
-rw-r--r--src/indexamajig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 33eed81f..2a7a5509 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -586,6 +586,7 @@ int main(int argc, char *argv[])
ERROR("Invalid value for --taketwo-angle-tolerance\n");
return 1;
}
+ iargs.taketwo_opts.angle_tol = deg2rad(iargs.taketwo_opts.angle_tol);
break;