Commit 6645f615 by Chloe Dequeker

hotfix

parent 8d1f23a5
...@@ -148,7 +148,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){ ...@@ -148,7 +148,7 @@ struct argLine* parseLineOfArgument(int argc, char** argv){
} }
}else if(strcmp(argv[i],"-distTH") == 0){ }else if(strcmp(argv[i],"-distTH") == 0){
DIST_FOR_CONTACT = atof(argv[i+1]); DIST_FOR_CONTACT = atof(argv[i+1]);
if(DIST_FOR_CONTACT > 0){ if(DIST_FOR_CONTACT < 0){
fprintf(stderr,"The threshold distance has to be above 0.\n"); fprintf(stderr,"The threshold distance has to be above 0.\n");
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment