Skip to content
Snippets Groups Projects
Commit 7b5bff97 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

[bugfix][python] Fix geometry.jacobianInverse() in python

This actually returned the transposed of the inverse
which is a severe bug.
parent 6ea1a270
No related branches found
No related tags found
1 merge request!736[bugfix][python] Fix geometry.jacobianInverse() in python
Pipeline #70509 passed
......@@ -303,7 +303,7 @@ namespace Dune
} );
cls.def( "jacobianInverse", [] ( const Geometry &self, const LocalCoordinate &x ) {
return static_cast< JacobianInverseTransposed >( self.jacobianInverseTransposed( x ) );
return static_cast< JacobianInverse >( self.jacobianInverse( x ) );
}, "x"_a,
R"doc(
obtain inverse Jacobian of this mapping in a local point
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment