diff --git a/libsrc/meshing/parallelmesh.cpp b/libsrc/meshing/parallelmesh.cpp index 8c2f8892..185c9eab 100644 --- a/libsrc/meshing/parallelmesh.cpp +++ b/libsrc/meshing/parallelmesh.cpp @@ -1337,7 +1337,7 @@ namespace netgen idxtype edgecut; - idxtype ncommon = 3; + idxtype ncommon = GetDimension(); PrintMessage (3, "metis start"); static Timer tm("metis library");