Skip to content
Snippets Groups Projects
Commit 083e9746 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

bugfix: Hessian didn't have correct block size

[[Imported from SVN: r7385]]
parent b2ebaf05
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ void testHessian()
embeddedHessian[0][0] = TargetSpace::secondDerivativeOfDistanceSquaredWRTFirstAndSecondArgument(coefficients[0],
coefficients[1]);
Matrix<FieldMatrix<double,2,2> > hessian(nDofs,nDofs);
Matrix<FieldMatrix<double,spaceDim,spaceDim> > hessian(nDofs,nDofs);
// transform to local tangent space bases
std::vector<Dune::FieldMatrix<double,spaceDim,embeddedSpaceDim> > orthonormalFrames(nDofs);
......
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