From 12f8e5fc9ee613747fd2677e4f7e125e9d3999aa Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Fri, 22 Aug 2014 12:33:09 +0000
Subject: [PATCH] Fix index bug

[[Imported from SVN: r9855]]
---
 dune/gfe/mixedlocalgfeadolcstiffness.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dune/gfe/mixedlocalgfeadolcstiffness.hh b/dune/gfe/mixedlocalgfeadolcstiffness.hh
index f6056774..a40212ca 100644
--- a/dune/gfe/mixedlocalgfeadolcstiffness.hh
+++ b/dune/gfe/mixedlocalgfeadolcstiffness.hh
@@ -413,7 +413,7 @@ assembleGradientAndHessian(const Entity& element,
 
         for (size_t subCol=0; subCol<blocksize1; subCol++) {
 
-            typename TargetSpace0::EmbeddedTangentVector z = orthonormalFrame0[col][subCol];
+            typename TargetSpace1::EmbeddedTangentVector z = orthonormalFrame1[col][subCol];
 
             // P_x \partial^2 f z
             for (size_t row=0; row<nDofs0; row++) {
@@ -434,7 +434,7 @@ assembleGradientAndHessian(const Entity& element,
 
         for (size_t subCol=0; subCol<blocksize0; subCol++) {
 
-            typename TargetSpace1::EmbeddedTangentVector z = orthonormalFrame1[col][subCol];
+            typename TargetSpace0::EmbeddedTangentVector z = orthonormalFrame0[col][subCol];
 
             // P_x \partial^2 f z
             for (size_t row=0; row<nDofs1; row++) {
-- 
GitLab