From 4824391250150840717c1609c99ff8c234c76665 Mon Sep 17 00:00:00 2001
From: Jaron Kent-Dobias <jaron@kent-dobias.com>
Date: Thu, 6 Oct 2022 12:11:41 +0200
Subject: Read number of measurements as float to allow scientific notation.

---
 order.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/order.cpp b/order.cpp
index 22e08f6..f43a2a3 100644
--- a/order.cpp
+++ b/order.cpp
@@ -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);
-- 
cgit v1.2.3-70-g09d2