From 9f2758b2a80350d564e01f2f1eb97bfa20cf2ec0 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Tue, 23 Mar 2010 05:48:24 +0000
Subject: [PATCH] bugfix: secondDerivative must return a 1x1 matrix, not a
 1-vector

[[Imported from SVN: r5788]]
---
 src/rotation.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/rotation.hh b/src/rotation.hh
index 187eeae7..07cb02ee 100644
--- a/src/rotation.hh
+++ b/src/rotation.hh
@@ -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;
     }
 
-- 
GitLab