aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/get_hkl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c
index 029f8d21..ac59b2e9 100644
--- a/src/get_hkl.c
+++ b/src/get_hkl.c
@@ -481,7 +481,7 @@ int main(int argc, char *argv[])
char *rval;
errno = 0;
- cutiso = strtod(optarg, &rval);
+ cutiso = strtod(cutoff_str, &rval);
if ( *rval != '\0' ) {
ERROR("Invalid value for --cutoff-angstroms.\n");
return 1;