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
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
return 4;
}
@ -778,7 +778,7 @@ namespace netgen
return 8;
default: // not a 3D element
#ifdef DEBUG
PrintSysError ("Element3d::GetNV not implemented for typ ", typ);
PrintSysError ("Element3d::GetNV not implemented for typ ", int(typ));
#endif
__assume(false);
return -1;
@ -862,7 +862,7 @@ namespace netgen
return 6;
default:
#ifdef DEBUG
PrintSysError ("element3d::GetNFaces not implemented for typ", typ)
PrintSysError ("element3d::GetNFaces not implemented for typ", int(typ))
#endif
;
}