From 85887e1cc4faa95f5e36f9adf2000bebf0943b63 Mon Sep 17 00:00:00 2001
From: Oleg Alexandrov <oleg.alexandrov@gmail.com>
Date: Thu, 18 Jul 2019 14:52:31 -0700
Subject: [PATCH] Fix compile error

---
 src/UsgsAstroLsSensorModel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/UsgsAstroLsSensorModel.cpp b/src/UsgsAstroLsSensorModel.cpp
index 6177b34..85e06be 100644
--- a/src/UsgsAstroLsSensorModel.cpp
+++ b/src/UsgsAstroLsSensorModel.cpp
@@ -2514,7 +2514,7 @@ void UsgsAstroLsSensorModel::setLinearApproximation()
   double height, aPrec;
   double desired_precision = 0.01;
   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"
                                 "reference point {} {} {} with desired precision"
-- 
GitLab