From 9ab15e3ff95c2725176bcfbb8c7d4b85ea87e605 Mon Sep 17 00:00:00 2001 From: Tobias Meyer Andersen Date: Mon, 15 Apr 2024 16:24:43 +0200 Subject: [PATCH] bugfix: make famg reconstruct on update --- opm/simulators/linalg/PreconditionerFactory_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/simulators/linalg/PreconditionerFactory_impl.hpp b/opm/simulators/linalg/PreconditionerFactory_impl.hpp index af743906d..aaf92cb66 100644 --- a/opm/simulators/linalg/PreconditionerFactory_impl.hpp +++ b/opm/simulators/linalg/PreconditionerFactory_impl.hpp @@ -523,7 +523,7 @@ struct StandardPreconditioners { Dune::Amg::Parameters parms; parms.setNoPreSmoothSteps(1); parms.setNoPostSmoothSteps(1); - return getDummyUpdateWrapper>(op, crit, parms); + return getRebuildOnUpdateWrapper, O, decltype(crit), decltype(parms)>(op, crit, parms); }); } if constexpr (std::is_same_v>) {