Skip to content
Snippets Groups Projects
Commit 2f61b8ba authored by Bastien Gorissen's avatar Bastien Gorissen
Browse files

Prevent a crash when optimizing ho pyramids, while a proper Jacobian evaluation is implemented.

parent 8bcf2a25
No related branches found
No related tags found
No related merge requests found
......@@ -112,6 +112,7 @@ void MElement::scaledJacRange(double &jmin, double &jmax)
{
jmin = jmax = 1.0;
#if defined(HAVE_MESH)
if (getType() == TYPE_PYR) return;
extern double mesh_functional_distorsion(MElement*,double,double);
if (getPolynomialOrder() == 1) return;
const bezierBasis *jac = getJacobianFuncSpace()->bezier;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment