Skip to content
Snippets Groups Projects
Commit 1f2801ec authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Fix memory leak in SegGeom geometric factors initialisation.

parent d3a32edd
No related branches found
No related tags found
No related merge requests found
......@@ -310,6 +310,11 @@ namespace Nektar
void SegGeom::v_GenGeomFactors(
const Array<OneD, const LibUtilities::BasisSharedPtr>& tbasis)
{
if (m_geomFactors.get())
{
return;
}
SpatialDomains::GeomType gType = eRegular;
const SpatialDomains::GeomType kDeformedType = eDeformed;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment