From f733de2fe07928425fa8f3739043ce3893f189d2 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 21 Sep 2012 05:46:14 +0000
Subject: [PATCH]

---
 Geo/MElement.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Geo/MElement.cpp b/Geo/MElement.cpp
index fc835ea4d0..c1e8c2282d 100644
--- a/Geo/MElement.cpp
+++ b/Geo/MElement.cpp
@@ -1412,7 +1412,7 @@ MElement *MElementFactory::create(int num, int type, const std::vector<int> &tag
         ghosts.push_back(tags[3 + i]);
     }
   }
-  create(type, v, num, part, false, parent);
+  return create(type, v, num, part, false, parent);
 }
 
 void MElement::xyzTouvw(fullMatrix<double> *xu)
-- 
GitLab