Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
docking
ocladock
Commits
92f41f06
Commit
92f41f06
authored
Aug 13, 2018
by
lvs
Browse files
corrected lsrat now accepts 100 in debugfastergrad,
#23
parent
af268867
Changes
1
Hide whitespace changes
Inline
Side-by-side
host/src/getparameters.cpp
View file @
92f41f06
...
...
@@ -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
"
);
...
...
Leonardo Solis
@solis
mentioned in issue
#23 (closed)
·
Aug 13, 2018
mentioned in issue
#23 (closed)
mentioned in issue #23
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment