mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 01:10:35 +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_MeshAlgos.hxx"
|
||||||
#include "SMESH_PythonDump.hxx"
|
#include "SMESH_PythonDump.hxx"
|
||||||
|
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
using namespace SMESH;
|
using namespace SMESH;
|
||||||
|
|
||||||
@ -368,7 +369,7 @@ CORBA::Double Measurements_i::Angle(const SMESH::PointStruct& p1,
|
|||||||
catch(...)
|
catch(...)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
if ( isnan( angle ))
|
if ( std::isnan( angle ))
|
||||||
angle = -1;
|
angle = -1;
|
||||||
|
|
||||||
return angle;
|
return angle;
|
||||||
|
Loading…
Reference in New Issue
Block a user