From ace79dee5491d90a0e49ead1a18b5eba58cda835 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Mon, 8 Nov 2010 12:54:07 +0000
Subject: [PATCH] fix one hard-wired grid dimension

[[Imported from SVN: r6509]]
---
 harmonicmaps-eoc.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/harmonicmaps-eoc.cc b/harmonicmaps-eoc.cc
index 8755788a..269e8861 100644
--- a/harmonicmaps-eoc.cc
+++ b/harmonicmaps-eoc.cc
@@ -76,7 +76,7 @@ void solve (const shared_ptr<GridType>& grid,
         int idx = grid->leafIndexSet().index(*vIt);
 
         FieldVector<double,3> v;
-        FieldVector<double,2> pos = vIt->geometry().corner(0);
+        FieldVector<double,dim> pos = vIt->geometry().corner(0);
         FieldVector<double,3> axis;
         axis[0] = pos[0];  axis[1] = pos[1]; axis[2] = 1;
         Rotation<3,double> rotation(axis, pos.two_norm()*M_PI*3);
-- 
GitLab