From c4730fbeb7d5f847ae2a2e9be544858a2f00ae75 Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Tue, 7 Apr 2020 17:09:13 +0200
Subject: [PATCH] [fix] Correct forgotten linear solver calls

---
 test/multidomain/embedded/1d3d/1p_1p/main.cc | 2 +-
 test/multidomain/embedded/2d3d/1p_1p/main.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/multidomain/embedded/1d3d/1p_1p/main.cc b/test/multidomain/embedded/1d3d/1p_1p/main.cc
index efee3c444e..6c90da38ea 100644
--- a/test/multidomain/embedded/1d3d/1p_1p/main.cc
+++ b/test/multidomain/embedded/1d3d/1p_1p/main.cc
@@ -217,7 +217,7 @@ int main(int argc, char** argv) try
     // solve linear system
     solveTimer.start();
     auto deltaSol = sol;
-    const bool converged = linearSolver->template solve<2>(assembler->jacobian(), deltaSol, assembler->residual());
+    const bool converged = linearSolver->solve(assembler->jacobian(), deltaSol, assembler->residual());
     if (!converged) DUNE_THROW(Dune::MathError, "Linear solver did not converge!");
     solveTimer.stop();
 
diff --git a/test/multidomain/embedded/2d3d/1p_1p/main.cc b/test/multidomain/embedded/2d3d/1p_1p/main.cc
index 0467efaa23..1b7929c016 100644
--- a/test/multidomain/embedded/2d3d/1p_1p/main.cc
+++ b/test/multidomain/embedded/2d3d/1p_1p/main.cc
@@ -112,7 +112,7 @@ void assembleSolveUpdate(Assembler& assembler, LinearSolver& linearSolver, Coupl
     // solve linear system
     solveTimer.start();
     auto deltaSol = sol;
-    const bool converged = linearSolver->template solve<2>(assembler->jacobian(), deltaSol, assembler->residual());
+    const bool converged = linearSolver->solve(assembler->jacobian(), deltaSol, assembler->residual());
     if (!converged) DUNE_THROW(Dune::MathError, "Linear solver did not converge!");
     solveTimer.stop();
 
-- 
GitLab