mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 22:50:33 +05:00
smaller int-type for GetNV
This commit is contained in:
parent
a22e36f182
commit
9324121953
@ -680,7 +680,7 @@ namespace netgen
|
|||||||
///
|
///
|
||||||
int GetNP () const { return np; }
|
int GetNP () const { return np; }
|
||||||
///
|
///
|
||||||
short int GetNV() const
|
uint8_t GetNV() const
|
||||||
{
|
{
|
||||||
__assume(typ >= TET && typ <= HEX);
|
__assume(typ >= TET && typ <= HEX);
|
||||||
switch (typ)
|
switch (typ)
|
||||||
@ -699,6 +699,7 @@ namespace netgen
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
PrintSysError ("Element3d::GetNV not implemented for typ ", typ);
|
PrintSysError ("Element3d::GetNV not implemented for typ ", typ);
|
||||||
#endif
|
#endif
|
||||||
|
__assume(false);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user