diff --git a/libsrc/meshing/parallelmesh.cpp b/libsrc/meshing/parallelmesh.cpp index 0843ecda..47d3ad21 100644 --- a/libsrc/meshing/parallelmesh.cpp +++ b/libsrc/meshing/parallelmesh.cpp @@ -873,7 +873,7 @@ namespace netgen *testout << "got " << numvert << " vertices" << endl; { - Element el(dim==2 ? 3 : 4); + Element el(4); Array elarray; MyMPI_Recv (elarray, 0, MPI_TAG_MESH+2, comm);