From 9208d95a8c778e91f66dc434d9949fa904dd08bd Mon Sep 17 00:00:00 2001
From: Tristan Carrier Baudouin <tristan.carrier@uclouvain.be>
Date: Tue, 13 Nov 2012 21:31:08 +0000
Subject: [PATCH] param

---
 Mesh/directions3D.h | 2 +-
 Mesh/yamakawa.cpp   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Mesh/directions3D.h b/Mesh/directions3D.h
index 9fdd2f7a51..95600ab751 100644
--- a/Mesh/directions3D.h
+++ b/Mesh/directions3D.h
@@ -96,4 +96,4 @@ class Nearest_point{
   static void print_segment(SPoint3,SPoint3,std::ofstream&);
   static GRegion* test();
   static void clear();
-};
+};
\ No newline at end of file
diff --git a/Mesh/yamakawa.cpp b/Mesh/yamakawa.cpp
index b0d9c281e0..277584d350 100755
--- a/Mesh/yamakawa.cpp
+++ b/Mesh/yamakawa.cpp
@@ -3246,7 +3246,7 @@ void PostOp::pyramids2(MVertex* a,MVertex* b,MVertex* c,MVertex* d,GRegion* gr){
 	estimate1 = estimate1 + tetrahedra.size() + 2*pyramids.size();
 	estimate2 = estimate2 + 1;
 
-	mid = new MVertex(x,y,z);
+	mid = new MVertex(x,y,z,gr);
 	gr->addMeshVertex(mid);
 
 	temp2 = new MPyramid(a,b,c,d,mid);
-- 
GitLab