diff --git a/Geo/MElement.cpp b/Geo/MElement.cpp index fc835ea4d09f6bf7ef523e92e2104182453b3630..c1e8c2282d1f5a6618926d64a1a5721d5a82d537 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)