Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
05bdaa6
)
23653: [CEA] SMESH compilation failure: Ubuntu 16 : isnan
author
eap
<eap@opencascade.com>
Wed, 19 Dec 2018 14:58:28 +0000
(17:58 +0300)
committer
eap
<eap@opencascade.com>
Wed, 19 Dec 2018 14:58:28 +0000
(17:58 +0300)
src/SMESH_I/SMESH_Measurements_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Measurements_i.cxx
b/src/SMESH_I/SMESH_Measurements_i.cxx
index 45f5f0b7fd3c60f11988d47d950e25fcd003221b..e6e5493fa14de37ac35ec6d9a981ff395eee220d 100644
(file)
--- 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 "SMESH_MeshAlgos.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;
return angle;
angle = -1;
return angle;