From 24ec3c25ffd66a7fff1572b54d2054b38f7642a7 Mon Sep 17 00:00:00 2001 From: Tobias Meyer Andersen Date: Thu, 11 Apr 2024 15:19:55 +0200 Subject: [PATCH] update prec factory test --- tests/test_preconditionerfactory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_preconditionerfactory.cpp b/tests/test_preconditionerfactory.cpp index c8bb7d524..31c0d05b1 100644 --- a/tests/test_preconditionerfactory.cpp +++ b/tests/test_preconditionerfactory.cpp @@ -190,7 +190,7 @@ BOOST_AUTO_TEST_CASE(TestAddingPreconditioner) // Add preconditioner to factory for block size 1. PF<1>::addCreator("nothing", [](const O<1>&, const Opm::PropertyTree&, const std::function()>&, std::size_t) { - return Dune::wrapPreconditioner>>(); + return Dune::getDummyUpdateWrapper>>(); }); @@ -206,7 +206,7 @@ BOOST_AUTO_TEST_CASE(TestAddingPreconditioner) // Add preconditioner to factory for block size 3. PF<3>::addCreator("nothing", [](const O<3>&, const Opm::PropertyTree&, const std::function()>&, std::size_t) { - return Dune::wrapPreconditioner>>(); + return Dune::getDummyUpdateWrapper>>(); }); // Test with 1x1 block solvers. @@ -303,7 +303,7 @@ testPrecRepeating(const Opm::PropertyTree& prm, const std::string& matrix_filena // Add no-oppreconditioner to factory for block size 1. PrecFactory::addCreator("nothing", [](const Operator&, const Opm::PropertyTree&, const std::function&, std::size_t) { - return Dune::wrapPreconditioner>(); + return Dune::getDummyUpdateWrapper>(); }); auto prec = PrecFactory::create(op, prm.get_child("preconditioner"));