From 85b21c843628c1f5fb404546c180c504e546c7b4 Mon Sep 17 00:00:00 2001 From: papush! Date: Tue, 29 Mar 2022 18:13:58 +0200 Subject: [PATCH] fix arg parsing --- src/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cc b/src/main.cc index eccb986..482a21a 100644 --- a/src/main.cc +++ b/src/main.cc @@ -86,10 +86,10 @@ int main(int argc, char **argv) { double radiusScale = 2.; int iterCount = 1; if(argc > 4) { - radiusScale = std::stod(argv[3]); + radiusScale = std::stod(argv[4]); } if (argc > 5) { - iterCount = std::stoi(argv[4]); + iterCount = std::stoi(argv[5]); } auto tetMeshReader = readerFromFileName(argv[2]);