Skip to content
Snippets Groups Projects
Commit 85887e1c authored by Oleg Alexandrov's avatar Oleg Alexandrov Committed by Jesse Mapel
Browse files

Fix compile error

parent 363546b7
Branches
Tags
No related merge requests found
...@@ -2514,7 +2514,7 @@ void UsgsAstroLsSensorModel::setLinearApproximation() ...@@ -2514,7 +2514,7 @@ void UsgsAstroLsSensorModel::setLinearApproximation()
double height, aPrec; double height, aPrec;
double desired_precision = 0.01; double desired_precision = 0.01;
computeElevation(refPt.x, refPt.y, refPt.z, height, aPrec, desired_precision); computeElevation(refPt.x, refPt.y, refPt.z, height, aPrec, desired_precision);
if (isnan(height)) if (std::isnan(height))
{ {
MESSAGE_LOG(m_logger, "setLinearApproximation: computeElevation of" MESSAGE_LOG(m_logger, "setLinearApproximation: computeElevation of"
"reference point {} {} {} with desired precision" "reference point {} {} {} with desired precision"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment