diff --git a/dune/gfe/localgfetestfunction.hh b/dune/gfe/localgfetestfunction.hh
index 4d6a2337cb95434d453f2d44cd7be6c5161e98f4..8cc8706223f0ca8b6ac8a82ecc864bd998a99455 100644
--- a/dune/gfe/localgfetestfunction.hh
+++ b/dune/gfe/localgfetestfunction.hh
@@ -38,7 +38,7 @@ public:
     /** \brief The number of Lagrange points, NOT the number of basis functions */
     unsigned int size() const
     {
-        return localGFEFunction_.localFiniteElement_.size();
+        return localGFEFunction_.size();
     }
 
     /** \brief Evaluate all shape functions at the given point */