From: Guytri KASTANE Date: Fri, 29 Sep 2023 13:02:48 +0000 (+0200) Subject: #BOS 37851: cast tuple types for compilation on FD38 X-Git-Tag: V9_12_0b1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0ee85c91e926eee675bc63fe8c369e70723d8afe;p=plugins%2Fnetgenplugin.git #BOS 37851: cast tuple types for compilation on FD38 --- diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx index 1a4df23..d5eb93e 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx @@ -259,7 +259,7 @@ bool NETGENPlugin_NETGEN_3D::getSurfaceElements( if ( elem->NbCornerNodes() != 3 ){ return error( COMPERR_BAD_INPUT_MESH, "Not triangle element encounters"); } - listElements[elem] = tuple(isRev, isInternalFace); + listElements[elem] = tuple(isRev, isInternalFace); } } diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx index 66d3954..75ee834 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D_SA.cxx @@ -395,7 +395,7 @@ bool NETGENPlugin_NETGEN_3D_SA::getSurfaceElements( // Get orientation // Netgen requires that all the triangle point outside isRev = elemOrientation[elem->GetID()]; - listElements[elem] = tuple(isRev, false); + listElements[elem] = tuple(isRev, false); } return false;