From bd11c9616ea395c0466de68fd5844ab4017cc95f Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Tue, 25 Oct 2011 15:50:28 +0000
Subject: [PATCH] The son of the evil index bug... beware of copy'n'paste...

[[Imported from SVN: r8040]]
---
 dune/gfe/rigidbodymotion.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/gfe/rigidbodymotion.hh b/dune/gfe/rigidbodymotion.hh
index 3859e17a..92801bad 100644
--- a/dune/gfe/rigidbodymotion.hh
+++ b/dune/gfe/rigidbodymotion.hh
@@ -174,7 +174,7 @@ public:
         for (int i=0; i<Rotation<dim,T>::EmbeddedTangentVector::dimension; i++)
             for (int j=0; j<Rotation<dim,T>::EmbeddedTangentVector::dimension; j++)
                 for (int k=0; k<Rotation<dim,T>::EmbeddedTangentVector::dimension; k++)
-                    result[dim+i][dim+j][dim+j] = rotationPart[i][j][k];
+                    result[dim+i][dim+j][dim+k] = rotationPart[i][j][k];
 
         return result;
     }
-- 
GitLab