From a2696fcee4f16547925d67e417bc1c8aa855f6af Mon Sep 17 00:00:00 2001 From: jgoppert Date: Fri, 6 Nov 2015 21:09:34 -0500 Subject: [PATCH] Fix for isfinite. --- matrix/Euler.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/matrix/Euler.hpp b/matrix/Euler.hpp index 61e26753b6..eb5d2fc759 100644 --- a/matrix/Euler.hpp +++ b/matrix/Euler.hpp @@ -10,6 +10,8 @@ #include "matrix.hpp" +#include + namespace matrix { @@ -56,13 +58,13 @@ public: psi() = 0; theta() = 0; phi() = 0; - if (isfinite(psi_val)) { + if (std::isfinite(psi_val)) { psi() = psi_val; } - if (isfinite(theta_val)) { + if (std::isfinite(theta_val)) { theta() = theta_val; } - if (isfinite(phi_val)) { + if (std::isfinite(phi_val)) { phi() = phi_val; } }