#BOS 37851: cast tuple types for compilation on FD38

This commit is contained in:
Guytri KASTANE 2023-09-29 15:02:48 +02:00
parent dae130623f
commit 0ee85c91e9
2 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@ bool NETGENPlugin_NETGEN_3D::getSurfaceElements(
if ( elem->NbCornerNodes() != 3 ){ if ( elem->NbCornerNodes() != 3 ){
return error( COMPERR_BAD_INPUT_MESH, "Not triangle element encounters"); return error( COMPERR_BAD_INPUT_MESH, "Not triangle element encounters");
} }
listElements[elem] = tuple(isRev, isInternalFace); listElements[elem] = tuple<bool, bool>(isRev, isInternalFace);
} }
} }

View File

@ -395,7 +395,7 @@ bool NETGENPlugin_NETGEN_3D_SA::getSurfaceElements(
// Get orientation // Get orientation
// Netgen requires that all the triangle point outside // Netgen requires that all the triangle point outside
isRev = elemOrientation[elem->GetID()]; isRev = elemOrientation[elem->GetID()];
listElements[elem] = tuple(isRev, false); listElements[elem] = tuple<bool, bool>(isRev, false);
} }
return false; return false;