mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
23653: [CEA] SMESH compilation failure: Ubuntu 16 : isnan
This commit is contained in:
parent
05bdaa6d2e
commit
2644464cc2
@ -38,6 +38,7 @@
|
||||
#include "SMESH_MeshAlgos.hxx"
|
||||
#include "SMESH_PythonDump.hxx"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user