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

MElement : correct bug in 1d jacobian (please check this commit is correct,...

MElement : correct bug in 1d jacobian (please check this commit is correct, I'm surprise such a bug survived so long unnoticed)
parent 168f373a
Branches
Tags
Loading
...@@ -202,8 +202,8 @@ static double _computeDeterminantAndRegularize(MElement *ele, double jac[3][3]) ...@@ -202,8 +202,8 @@ static double _computeDeterminantAndRegularize(MElement *ele, double jac[3][3])
norme(b); norme(b);
prodve(a, b, c); prodve(a, b, c);
norme(c); norme(c);
jac[0][1] = b[0]; jac[1][1] = b[1]; jac[2][1] = b[2]; jac[1][0] = b[0]; jac[1][1] = b[1]; jac[1][2] = b[2];
jac[0][2] = c[0]; jac[1][2] = c[1]; jac[2][2] = c[2]; jac[2][0] = c[0]; jac[2][1] = c[1]; jac[2][2] = c[2];
break; break;
} }
case 2: case 2:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment