From ffca045ff453e41a0aed290e89c24324ddd97bec Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 20 Jul 2017 17:29:34 +0200 Subject: Change units for TakeTwo parameters --- src/indexamajig.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/indexamajig.c') diff --git a/src/indexamajig.c b/src/indexamajig.c index 2a7a5509..d232b66f 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -175,7 +175,7 @@ static void show_help(const char *s) " --taketwo-member-threshold Minimum number of members in network\n" " --taketwo-len-tolerance Reciprocal space length tolerance (1/A)\n" " --taketwo-angle-tolerance Reciprocal space angle tolerance (in degrees)\n" -" --taketwo-trace-tolerance Rotation matrix trace tolerance\n" +" --taketwo-trace-tolerance Rotation matrix equivalence tolerance (in degrees)\n" ); } @@ -578,6 +578,7 @@ int main(int argc, char *argv[]) ERROR("Invalid value for --taketwo-len-tolerance\n"); return 1; } + iargs.taketwo_opts.len_tol *= 1e10; break; case 34: @@ -596,6 +597,7 @@ int main(int argc, char *argv[]) ERROR("Invalid value for --taketwo-trace-tolerance\n"); return 1; } + iargs.taketwo_opts.trace_tol = deg2rad(iargs.taketwo_opts.trace_tol); break; case 0 : -- cgit v1.2.3