From: eap Date: Wed, 19 Dec 2018 14:58:28 +0000 (+0300) Subject: 23653: [CEA] SMESH compilation failure: Ubuntu 16 : isnan X-Git-Tag: V9_3_0a1~31 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=2644464cc22b6d71605053f340fdab2ed976f969 23653: [CEA] SMESH compilation failure: Ubuntu 16 : isnan --- 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;