From 88d9cc71e9a124530a26a2d0a83655cb54e966ff Mon Sep 17 00:00:00 2001
From: TiKeil <keil.menden@web.de>
Date: Thu, 12 Jul 2018 16:38:34 +0200
Subject: [PATCH] [base/derived] update derived function

---
 dune/xt/functions/base/derived.hh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dune/xt/functions/base/derived.hh b/dune/xt/functions/base/derived.hh
index 7b91f91e8..6a51c999e 100644
--- a/dune/xt/functions/base/derived.hh
+++ b/dune/xt/functions/base/derived.hh
@@ -184,12 +184,11 @@ public:
 protected:
   void post_bind(const ElementType& element)
   {
-    DUNE_THROW(NotImplemented, 'Implement it');
-    // func_local_.post_bind(element);
+    func_local_->bind(element);
   }
 
 private:
-  const std::unique_ptr<const typename FunctionType::LocalFunctionType> func_local_;
+  std::unique_ptr<typename FunctionType::LocalFunctionType> func_local_;
 }; // class DerivedLocalFunction
 
 
-- 
GitLab