From 6cc56170701318f8266d31185e92cc0a99c92f56 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Wed, 19 Oct 2011 12:59:30 +0000
Subject: [PATCH] fix a few syntax errors in the new cayley code

[[Imported from SVN: r7956]]
---
 dune/gfe/rotation.hh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dune/gfe/rotation.hh b/dune/gfe/rotation.hh
index c1b6748b..091a86e3 100644
--- a/dune/gfe/rotation.hh
+++ b/dune/gfe/rotation.hh
@@ -451,10 +451,10 @@ public:
     }
 
     /** \brief The cayley mapping from \f$ \mathfrak{so}(3) \f$ to \f$ SO(3) \f$. */
-    static Rotation<3,T> cayley(const SkewMatrix<3,T>& s) {
+    static Rotation<3,T> cayley(const SkewMatrix<T,3>& s) {
         Rotation<3,T> q;
 
-        Dune::FieldVector<T,3> vAxial = v.axial();
+        Dune::FieldVector<T,3> vAxial = s.axial();
         T norm = 0.25*vAxial.two_norm2() + 1;
         
         Dune::FieldMatrix<T,3,3> mat = s.toMatrix();
@@ -470,8 +470,8 @@ public:
         return q;
     }
     
-    /** \brief The inverse of the cayley mapping. */
-    static SkewMatrix<3,T>  cayleyInv(const Rotation<3,T> q) {
+    /** \brief The inverse of the Cayley mapping. */
+    static SkewMatrix<T,3>  cayleyInv(const Rotation<3,T> q) {
        
         Dune::FieldMatrix<T,3,3> mat;
 
-- 
GitLab