From 29e5838567288c2d019e15061ff9d4972e333f71 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 4 May 2013 08:53:46 +0000 Subject: [PATCH] pp --- Geo/MVertex.cpp | 2 +- Numeric/BasisFactory.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Geo/MVertex.cpp b/Geo/MVertex.cpp index 6aeb8e7478..bb40e19b81 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 814522b1c3..46adb2e19f 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]; -- GitLab