From 6184cff4219066a04b471a1b62cd7120c854d68f Mon Sep 17 00:00:00 2001
From: Christian Engwer <christi@dune-project.org>
Date: Fri, 13 Nov 2015 16:08:40 +0100
Subject: [PATCH] [test] fix deprecation warnings in amgtest

---
 dune/istl/paamg/test/amgtest.cc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dune/istl/paamg/test/amgtest.cc b/dune/istl/paamg/test/amgtest.cc
index 0ffb858b..56e1fff2 100644
--- a/dune/istl/paamg/test/amgtest.cc
+++ b/dune/istl/paamg/test/amgtest.cc
@@ -129,13 +129,16 @@ void testAMG(int N, int coarsenTarget, int ml)
   criterion.setBeta(1.0e-4);
   criterion.setMaxLevel(ml);
   criterion.setSkipIsolated(false);
+  // specify pre/post smoother steps
+  criterion.setNoPreSmoothSteps(1);
+  criterion.setNoPostSmoothSteps(1);
 
   Dune::SeqScalarProduct<Vector> sp;
   typedef Dune::Amg::AMG<Operator,Vector,Smoother> AMG;
 
   Smoother smoother(mat,1,1);
 
-  AMG amg(fop, criterion, smootherArgs, 1, 1, 1, false);
+  AMG amg(fop, criterion, smootherArgs);
 
 
   double buildtime = watch.elapsed();
-- 
GitLab