Skip to content
Snippets Groups Projects
Commit 227364c6 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

dg : remove segfaulting delete

parent c53d8617
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ public:
}
}
}
~neumann_ () {if (diffusiveFlux)delete diffusiveFlux;}
~neumann_ () {}
};
dataCacheDouble *dgBoundaryCondition::newDiffusiveDirichletBC(dataCacheMap &cacheMapLeft) const {
......
......@@ -770,7 +770,7 @@ class dgBoundaryConditionPerfectGasLaw2dWall : public dgBoundaryCondition {
_value(i,3) = 0.0;
}
}
~neumannNonSlip () {if (diffusiveFlux)delete diffusiveFlux;}
~neumannNonSlip (){};
};
//-------------------------------------------------------------------------------
......
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