mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 02:00:34 +05:00
Compilation error on Ubuntu 16
This commit is contained in:
parent
ef3921b2af
commit
aa58e0af13
@ -93,3 +93,12 @@ triaStr = ""
|
||||
for tria in tetra.GetElementsByType( SMESH.FACE ):
|
||||
nodes = tetra.GetElemNodes( tria )
|
||||
triaStr += "%s (%s, %s, %s) " % ( tria, nodes[0], nodes[1], nodes[2] )
|
||||
|
||||
# Retrieve group contents
|
||||
groupStr = ""
|
||||
for group in tetra.GetGroups():
|
||||
ids = group.GetIDs()
|
||||
name = group.GetName()
|
||||
eType = group.GetType()
|
||||
groupStr += "'%s' %s: %s \n" % ( name, eType, ids )
|
||||
|
||||
|
@ -310,7 +310,7 @@ void StdMeshersGUI_DistrPreview::update()
|
||||
if ( std::fabs(y[i]) >= HUGE_VAL)
|
||||
y[i] = HUGE_VAL/100.;
|
||||
#else
|
||||
if ( isinf(y[i]))
|
||||
if ( std::isinf(y[i]))
|
||||
y[i] = std::numeric_limits<double>::max()/100.;
|
||||
#endif
|
||||
// if ( y[i] > 1e3 )
|
||||
|
Loading…
Reference in New Issue
Block a user