From 7a6d6c15f2334d6ae385d844321fc1eb22f2e965 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Sun, 15 Mar 2015 11:21:17 +0000
Subject: [PATCH] The global assembler gets the basis, not the grid view

I am puzzled that this worked at all previously.

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

diff --git a/src/harmonicmaps.cc b/src/harmonicmaps.cc
index fa4b1f8a..94984e3e 100644
--- a/src/harmonicmaps.cc
+++ b/src/harmonicmaps.cc
@@ -189,7 +189,7 @@ int main (int argc, char *argv[]) try
                                   FEBasis::LocalFiniteElement,
                                   TargetSpace> localGFEADOLCStiffness(localEnergy.get());
 
-    GeodesicFEAssembler<FEBasis,TargetSpace> assembler(grid->leafGridView(), &localGFEADOLCStiffness);
+    GeodesicFEAssembler<FEBasis,TargetSpace> assembler(feBasis, &localGFEADOLCStiffness);
 
     // /////////////////////////////////////////////////
     //   Create a Riemannian trust-region solver
-- 
GitLab