mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +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; }
|
||||
///
|
||||
short int GetNV() const
|
||||
uint8_t GetNV() const
|
||||
{
|
||||
__assume(typ >= TET && typ <= HEX);
|
||||
switch (typ)
|
||||
@ -699,7 +699,8 @@ namespace netgen
|
||||
#ifdef DEBUG
|
||||
PrintSysError ("Element3d::GetNV not implemented for typ ", typ);
|
||||
#endif
|
||||
return -1;
|
||||
__assume(false);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user