From 6ac8360b313fda374dba9ab454247f1c13da6818 Mon Sep 17 00:00:00 2001
From: Oliver Sander <oliver.sander@tu-dresden.de>
Date: Sat, 14 Nov 2015 18:29:08 +0100
Subject: [PATCH] [bugfix] derivativeOfMatrixToQuaternion: Set FieldVector to
 correct length

---
 dune/gfe/rotation.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/gfe/rotation.hh b/dune/gfe/rotation.hh
index 6684ee40..b4e2fce9 100644
--- a/dune/gfe/rotation.hh
+++ b/dune/gfe/rotation.hh
@@ -971,7 +971,7 @@ public:
     {
       Tensor3<T,4,3,3> result;
 
-      Dune::FieldVector<T,3> p;
+      Dune::FieldVector<T,4> p;
 
         // The following equations for the derivation of a unit quaternion from a rotation
         // matrix comes from 'E. Salamin, Application of Quaternions to Computation with
-- 
GitLab