From 843c56115961936b61a864ee45b1345cc8072524 Mon Sep 17 00:00:00 2001 From: even <philippe.even@loria.fr> Date: Thu, 9 May 2019 16:43:05 +0200 Subject: [PATCH] cplts --- Code/FBSD/IPOLdemo/mainIPOL.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Code/FBSD/IPOLdemo/mainIPOL.cpp b/Code/FBSD/IPOLdemo/mainIPOL.cpp index 7417f56..d16a133 100755 --- a/Code/FBSD/IPOLdemo/mainIPOL.cpp +++ b/Code/FBSD/IPOLdemo/mainIPOL.cpp @@ -29,7 +29,7 @@ int main (int argc, char *argv[]) } } - if (argc < 4) + if (argc < 5) { usage(argv[0]); exit(EXIT_FAILURE); @@ -47,9 +47,9 @@ int main (int argc, char *argv[]) double widthBS = atof(argv[3]); unsigned int minSizeBS = atoi(argv[4]); - if (argc == 5) + if (argc == 6) { - inpoints_filename = argv[4]; + inpoints_filename = argv[5]; fin.open (inpoints_filename.c_str(), std::fstream::in); with_points = true; } -- GitLab