diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2022-10-06 12:11:41 +0200 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2022-10-06 12:11:41 +0200 |
commit | 4824391250150840717c1609c99ff8c234c76665 (patch) | |
tree | e64826480a98afc4764a33f836379b698af3fb21 | |
parent | 1c246a15a2fce947a2d7c789f57f634d32603ee9 (diff) | |
download | code-4824391250150840717c1609c99ff8c234c76665.tar.gz code-4824391250150840717c1609c99ff8c234c76665.tar.bz2 code-4824391250150840717c1609c99ff8c234c76665.zip |
Read number of measurements as float to allow scientific notation.
-rw-r--r-- | order.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ int main(int argc, char* argv[]) { n = atoi(optarg); break; case 'm': - m = atoi(optarg); + m = (unsigned)atof(optarg); break; default: exit(1); |