From a3e8865d1a745c1700c8814255420e6420ba0708 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 23 May 2016 09:38:24 +0000
Subject: [PATCH] fix rev 22983

---
 Mesh/meshGRegion.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Mesh/meshGRegion.cpp b/Mesh/meshGRegion.cpp
index 9d9ab97fb6..9a1d3dd2d9 100644
--- a/Mesh/meshGRegion.cpp
+++ b/Mesh/meshGRegion.cpp
@@ -545,7 +545,7 @@ void MeshDelaunayVolumeTetgen(std::vector<GRegion*> &regions)
   else{
     int nbvertices_filler = (old_algo_hexa()) ?
       Filler::get_nbr_new_vertices() : Filler3D::get_nbr_new_vertices();
-    if(!nbvertices_filler && !LpSmoother::get_nbr_interior_vertices()){      
+    if(!nbvertices_filler && !LpSmoother::get_nbr_interior_vertices()){
       insertVerticesInRegion(gr,2000000000,true);
     }
   }
@@ -615,7 +615,7 @@ static void MeshDelaunayVolumeNewCode(std::vector<GRegion*> &regions)
   gr->set(faces);
 
   // now do insertion of points
-  if(!CTX::instance()->mesh.oldRefinement){
+  if(CTX::instance()->mesh.oldRefinement){
     insertVerticesInRegion(gr, 2000000000, true);
   }
   else{
-- 
GitLab