diff options
author | Thomas White <taw@physics.org> | 2013-11-29 13:47:00 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-11-29 13:47:00 +0100 |
commit | bc0ea6b08d78d1c56052a052388d844443467d35 (patch) | |
tree | ef585801cdea0af543ccaf7e3319bcb65280b664 | |
parent | 15e4f69548354a1d4ca21bc1bc657d296ea09314 (diff) |
get_hkl: Fix obvious bug in option processing
-rw-r--r-- | src/get_hkl.c | 2 |
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; |