X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmath%2FSGMisc.hxx;h=8eaa124e27704eca149bf7f8c912fcd661670aba;hb=b99f53fda3b06378668bdccd4a9d07161f263366;hp=5e69077eab6c98c469ecd681a5f8c3b86cfd2168;hpb=57a3b0fd1e0af0eb032bb426655a3af037cf5f01;p=simgear.git diff --git a/simgear/math/SGMisc.hxx b/simgear/math/SGMisc.hxx index 5e69077e..8eaa124e 100644 --- a/simgear/math/SGMisc.hxx +++ b/simgear/math/SGMisc.hxx @@ -92,7 +92,6 @@ public: static S lerp(const S& val0, const S& val1, const T& t) { return val0*(T(1) - t) + val1*t; } -#ifndef NDEBUG /// Returns true if v is a NaN value /// Use with care: allways code that you do not need to use that! static bool isNaN(const T& v) @@ -109,7 +108,6 @@ public: return !(v == v); #endif } -#endif }; #endif