From f6a34667f8f3bbf7d907389ad726cb7153475d2d Mon Sep 17 00:00:00 2001
From: Jonathan Youett <youett@mi.fu-berlin.de>
Date: Fri, 21 Oct 2011 14:01:09 +0000
Subject: [PATCH] bugfix

[[Imported from SVN: r7986]]
---
 dune/gfe/localgfetestfunctionbasis.hh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dune/gfe/localgfetestfunctionbasis.hh b/dune/gfe/localgfetestfunctionbasis.hh
index 2cafe029..34b35377 100644
--- a/dune/gfe/localgfetestfunctionbasis.hh
+++ b/dune/gfe/localgfetestfunctionbasis.hh
@@ -75,12 +75,12 @@ public:
     }
 
     /** \brief Get base coefficients. */
-    const std::vector<TargetSpace>& getBaseCoefficients() {return baseCoeff_;}
+    const std::vector<TargetSpace>& getBaseCoefficients() const {return baseCoeff_;}
 
 private:
     const std::vector<TargetSpace> baseCoeff_;
     LocalBasis basis_;
-    const typename LagrangeLfe::Traits::LocalCoefficientsType& coefficients_;
+    const typename Traits::LocalCoefficientsType& coefficients_;
     LocalInterpolation  interpolation_;
     Dune::GeometryType gt_;
 };
@@ -160,7 +160,6 @@ void LocalGfeTestFunctionBasis<LocalFiniteElement,TargetSpace>::evaluateFunction
         /** \todo This call internally keeps computing the value of the gfe function at 'local'.
          * This is expensive.  Eventually we should precompute it once and reused the result. */
         localGFEFunction_.evaluateDerivativeOfValueWRTCoefficient (local, i, derivative);
-
         Dune::FieldMatrix<ctype,spaceDim,embeddedDim> basisVectors = localGFEFunction_.coefficients_[i].orthonormalFrame();
         
         for (int j=0; j<spaceDim; j++)
-- 
GitLab