From 9f1cabe5bb7ecf3386cbfd1d718c852beb10fea2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carsten=20Gr=C3=A4ser?= <graeser@dune-project.org>
Date: Mon, 14 Mar 2016 15:08:04 +0100
Subject: [PATCH] [bugfix] Revert incompatible interface change

Adding a new template perameter before the existing ones is
a non-compatible interface change, because code that explicitly
instantiates the template will fail to compile afterwards.

Putting the new template parameter to the end fixes the issue
---
 dune/istl/bcrsmatrix.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/istl/bcrsmatrix.hh b/dune/istl/bcrsmatrix.hh
index 398e34b6b..727c83325 100644
--- a/dune/istl/bcrsmatrix.hh
+++ b/dune/istl/bcrsmatrix.hh
@@ -1625,7 +1625,7 @@ namespace Dune {
     }
 
     //! y += alpha A x
-    template<typename F, class X, class Y>
+    template<class X, class Y, class F>
     void usmv (F&& alpha, const X& x, Y& y) const
     {
 #ifdef DUNE_ISTL_WITH_CHECKING
-- 
GitLab