diff --git a/libsrc/meshing/improve3.cpp b/libsrc/meshing/improve3.cpp index 80e60545..1f17041e 100644 --- a/libsrc/meshing/improve3.cpp +++ b/libsrc/meshing/improve3.cpp @@ -3976,6 +3976,7 @@ void MeshOptimize3d :: SwapImprove2 (Mesh & mesh, OPTIMIZEGOAL goal) static Timer t("MeshOptimize3d::SwapImprove2"); RegionTimer reg(t); // return SwapImprove2Sequential(mesh, goal); + if (goal == OPT_CONFORM) return; mesh.BuildBoundaryEdges(false); @@ -3986,8 +3987,6 @@ void MeshOptimize3d :: SwapImprove2 (Mesh & mesh, OPTIMIZEGOAL goal) int ne = mesh.GetNE(); int nse = mesh.GetNSE(); - if (goal == OPT_CONFORM) return; - // contains at least all elements at node TABLE belementsonnode(np);