Explorar o código

fix check for command line args: if(argc>=1) -> if(argc>1)

Former-commit-id: 44b95370810ea2603346c4e09d81f4625cf37c39
James Andrews %!s(int64=10) %!d(string=hai) anos
pai
achega
b3dec910b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tutorial/203_CurvatureDirections/main.cpp

+ 1 - 1
tutorial/203_CurvatureDirections/main.cpp

@@ -17,7 +17,7 @@ int main(int argc, char *argv[])
 {
   using namespace Eigen;
   std::string filename = "../shared/fertility.off";
-  if(argc>=1)
+  if(argc>1)
   {
     filename = argv[1];
   }