From 2644464cc22b6d71605053f340fdab2ed976f969 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 19 Dec 2018 17:58:28 +0300 Subject: [PATCH] 23653: [CEA] SMESH compilation failure: Ubuntu 16 : isnan --- src/SMESH_I/SMESH_Measurements_i.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SMESH_I/SMESH_Measurements_i.cxx b/src/SMESH_I/SMESH_Measurements_i.cxx index 45f5f0b7f..e6e5493fa 100644 --- a/src/SMESH_I/SMESH_Measurements_i.cxx +++ b/src/SMESH_I/SMESH_Measurements_i.cxx @@ -38,6 +38,7 @@ #include "SMESH_MeshAlgos.hxx" #include "SMESH_PythonDump.hxx" +#include using namespace SMESH; @@ -368,7 +369,7 @@ CORBA::Double Measurements_i::Angle(const SMESH::PointStruct& p1, catch(...) { } - if ( isnan( angle )) + if ( std::isnan( angle )) angle = -1; return angle; -- 2.39.2