aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-07-20 17:29:34 +0200
committerThomas White <taw@physics.org>2017-07-20 17:29:34 +0200
commitffca045ff453e41a0aed290e89c24324ddd97bec (patch)
tree7591496b23baa7dd3a1ea15d961439fdad9b12e7 /src
parent0494ead78ba5c9d16a780a9e8acc47fd3871d3dc (diff)
Change units for TakeTwo parameters
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c4
1 files changed, 3 insertions, 1 deletions
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 :