From bf8c99178d0c70b9ec84331bb670204912f8378e Mon Sep 17 00:00:00 2001
From: Oliver Sander <oliver.sander@tu-dresden.de>
Date: Wed, 10 Feb 2016 13:19:45 +0100
Subject: [PATCH] Set correct DerivativeType if the TargetSpace is a RealTuple

---
 dune/gfe/globalgeodesicfefunction.hh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dune/gfe/globalgeodesicfefunction.hh b/dune/gfe/globalgeodesicfefunction.hh
index 8e68d06a..1f5ea961 100644
--- a/dune/gfe/globalgeodesicfefunction.hh
+++ b/dune/gfe/globalgeodesicfefunction.hh
@@ -14,6 +14,12 @@ struct DerivativeTypefier<Dune::FieldVector<dctype, DimDomain>, UnitVector<rctyp
   typedef Dune::FieldMatrix<rctype, DimRange, DimDomain> DerivativeType;
 };
 
+template <class dctype, int DimDomain, class rctype, int DimRange>
+struct DerivativeTypefier<Dune::FieldVector<dctype, DimDomain>, RealTuple<rctype,DimRange> >
+{
+  typedef Dune::FieldMatrix<rctype, DimRange, DimDomain> DerivativeType;
+};
+
 
 
 /** \brief Global geodesic finite element function.
-- 
GitLab