Commit 92f41f06 authored by lvs's avatar lvs
Browse files

corrected lsrat now accepts 100 in debugfastergrad, #23

parent af268867
......@@ -264,7 +264,10 @@ void get_commandpars(const int* argc,
arg_recognized = 1;
sscanf(argv [i+1], "%f", &tempfloat);
/*
if ((tempfloat >= 0.0) && (tempfloat < 100.0))
*/
if ((tempfloat >= 0.0) && (tempfloat <= 100.0))
mypars->lsearch_rate = tempfloat;
else
printf("Warning: value of -lrat argument ignored. Value must be a float between 0 and 100.\n");
......
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