Fix comment in previous commit
parent
e7b619c0ef
commit
deb41a2a8f
|
@ -619,8 +619,8 @@ void
|
||||||
LoadParamsAndSteadyStateStatement::fillEvalContext(eval_context_t &eval_context) const
|
LoadParamsAndSteadyStateStatement::fillEvalContext(eval_context_t &eval_context) const
|
||||||
{
|
{
|
||||||
for (const auto & it : content)
|
for (const auto & it : content)
|
||||||
/* We use strtod() instead of stod() because we want overflows and
|
/* We use strtod() instead of stod() because we want underflows and
|
||||||
underflows to respectively yield 0 and ±Inf. See also the comment in
|
overflows to respectively yield 0 and ±Inf. See also the comment in
|
||||||
NumericalConstants.cc */
|
NumericalConstants.cc */
|
||||||
eval_context[it.first] = strtod(it.second.c_str(), nullptr);
|
eval_context[it.first] = strtod(it.second.c_str(), nullptr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue