From 208b68cb18e37f1c26fcf2a2e12d91692122fedd Mon Sep 17 00:00:00 2001
From: Tobias Leibner <tobias.leibner@googlemail.com>
Date: Fri, 10 Jan 2020 09:15:36 +0100
Subject: [PATCH] [test.momentmodels] fix endless recursion in function call

---
 dune/gdt/test/momentmodels/entropyflux_implementations.hh | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/dune/gdt/test/momentmodels/entropyflux_implementations.hh b/dune/gdt/test/momentmodels/entropyflux_implementations.hh
index 2f9595ec5..bf86de878 100644
--- a/dune/gdt/test/momentmodels/entropyflux_implementations.hh
+++ b/dune/gdt/test/momentmodels/entropyflux_implementations.hh
@@ -3675,12 +3675,7 @@ public:
     return ret;
   } // ... get_alpha(...)
 
-  DomainType get_u(const DomainType& alpha) const
-  {
-    return get_u(alpha);
-  }
-
-  VectorType get_u(const VectorType& alpha_k) const
+  VectorType get_u(const DomainType& alpha_k) const
   {
     VectorType u(0);
     for (size_t nn = 0; nn < dimRange; ++nn) {
-- 
GitLab