Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit f486cd4f authored by frey_m's avatar frey_m
Browse files

use better function call

parent 54dbb1dd
No related branches found
No related tags found
1 merge request!118Optimizer: check NaN and Inf
...@@ -144,7 +144,7 @@ namespace SDDS { ...@@ -144,7 +144,7 @@ namespace SDDS {
* (value_after - value_before) * (value_after - value_before)
/ (value_after_ref - value_before_ref); / (value_after_ref - value_before_ref);
if (std::isnan(nval) || std::isinf(nval)) if (std::isfinite(nval))
throw SDDSParserException("SDDSParser::getInterpolatedValue", throw SDDSParserException("SDDSParser::getInterpolatedValue",
"Interpolated value either NaN or Inf."); "Interpolated value either NaN or Inf.");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment