Fix Windows debug build

This commit is contained in:
Matthias Hochsteger 2019-12-13 15:40:12 -08:00
parent 260fd39da5
commit 2d97eeaa77

View File

@ -476,7 +476,7 @@ namespace netgen
{ {
#ifdef DEBUG #ifdef DEBUG
if (typ != QUAD && typ != QUAD6 && typ != QUAD8) if (typ != QUAD && typ != QUAD6 && typ != QUAD8)
PrintSysError ("element2d::GetNV not implemented for typ", typ); PrintSysError ("element2d::GetNV not implemented for typ", int(typ));
#endif #endif
return 4; return 4;
} }
@ -778,7 +778,7 @@ namespace netgen
return 8; return 8;
default: // not a 3D element default: // not a 3D element
#ifdef DEBUG #ifdef DEBUG
PrintSysError ("Element3d::GetNV not implemented for typ ", typ); PrintSysError ("Element3d::GetNV not implemented for typ ", int(typ));
#endif #endif
__assume(false); __assume(false);
return -1; return -1;
@ -862,7 +862,7 @@ namespace netgen
return 6; return 6;
default: default:
#ifdef DEBUG #ifdef DEBUG
PrintSysError ("element3d::GetNFaces not implemented for typ", typ) PrintSysError ("element3d::GetNFaces not implemented for typ", int(typ))
#endif #endif
; ;
} }