diff --git a/Geo/MVertex.cpp b/Geo/MVertex.cpp index 6aeb8e7478734ee14541335c125ac2666ab614a7..bb40e19b81189af31863d1ff28345337bd959673 100644 --- a/Geo/MVertex.cpp +++ b/Geo/MVertex.cpp @@ -502,7 +502,7 @@ bool reparamMeshVertexOnFace(MVertex *v, const GFace *gf, SPoint2 ¶m, return true; } -bool reparamMeshVertexOnEdge( MVertex *v, const GEdge *ge, double ¶m) +bool reparamMeshVertexOnEdge(MVertex *v, const GEdge *ge, double ¶m) { param = 1.e6; Range<double> bounds = ge->parBounds(0); diff --git a/Numeric/BasisFactory.cpp b/Numeric/BasisFactory.cpp index 814522b1c3968143df5df0b96b27221b2d756042..46adb2e19f96d142d09490838f34a672a827956b 100644 --- a/Numeric/BasisFactory.cpp +++ b/Numeric/BasisFactory.cpp @@ -42,6 +42,7 @@ const nodalBasis* BasisFactory::create(int elementType) { return 0; } + // FIXME: check if already exists to deallocate if necessary fs.insert(std::make_pair(elementType, B)); return fs[elementType];