mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-11 21:50:34 +05:00
fix multidim in Netgen
This commit is contained in:
parent
c5ad77ad0c
commit
a86c9d19e0
@ -113,7 +113,7 @@ namespace netgen
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetMultiDimComponent (int mc)
|
virtual void SetMultiDimComponent (int mc)
|
||||||
{
|
{
|
||||||
if (mc >= GetNumMultiDimComponents()) mc = GetNumMultiDimComponents()-1;
|
if (mc >= GetNumMultiDimComponents()) mc = GetNumMultiDimComponents()-1;
|
||||||
if (mc < 0) mc = 0;
|
if (mc < 0) mc = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user