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

bugfix: secondDerivative must return a 1x1 matrix, not a 1-vector

[[Imported from SVN: r5788]]
parent e33a128f
Branches
Tags
No related merge requests found
......@@ -83,8 +83,8 @@ public:
return -2 * distance(a,b);
}
static TangentVector secondDerivativeOfDistanceSquaredWRTSecondArgument(const Rotation<2,T>& a,
const Rotation<2,T>& b) {
static Dune::FieldMatrix<double,1,1> secondDerivativeOfDistanceSquaredWRTSecondArgument(const Rotation<2,T>& a,
const Rotation<2,T>& b) {
return 2;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment