diff --git a/libsrc/meshing/debugging.cpp b/libsrc/meshing/debugging.cpp index f3723eaa..e32b44b4 100644 --- a/libsrc/meshing/debugging.cpp +++ b/libsrc/meshing/debugging.cpp @@ -104,6 +104,8 @@ namespace netgen bool have_error = false; for (auto el : mesh.VolumeElements()) { + if(el.GetType() != TET) + continue; double volume = el.Volume(mesh.Points()); if (volume < 0) {