fix arg parsing
This commit is contained in:
parent
44bd8f3b0a
commit
85b21c8436
@ -86,10 +86,10 @@ int main(int argc, char **argv) {
|
|||||||
double radiusScale = 2.;
|
double radiusScale = 2.;
|
||||||
int iterCount = 1;
|
int iterCount = 1;
|
||||||
if(argc > 4) {
|
if(argc > 4) {
|
||||||
radiusScale = std::stod(argv[3]);
|
radiusScale = std::stod(argv[4]);
|
||||||
}
|
}
|
||||||
if (argc > 5) {
|
if (argc > 5) {
|
||||||
iterCount = std::stoi(argv[4]);
|
iterCount = std::stoi(argv[5]);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto tetMeshReader = readerFromFileName(argv[2]);
|
auto tetMeshReader = readerFromFileName(argv[2]);
|
||||||
|
Loading…
Reference in New Issue
Block a user