diff --git a/core/config/preconditioner_ic_config.cpp b/core/config/preconditioner_ic_config.cpp index 7d4cd3d9ca4..d90792c2609 100644 --- a/core/config/preconditioner_ic_config.cpp +++ b/core/config/preconditioner_ic_config.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2017 - 2024 The Ginkgo authors +// SPDX-FileCopyrightText: 2017 - 2025 The Ginkgo authors // // SPDX-License-Identifier: BSD-3-Clause @@ -6,11 +6,6 @@ #include #include #include -#include -#include -#include -#include -#include #include "core/config/config_helper.hpp" #include "core/config/dispatch.hpp" @@ -22,85 +17,30 @@ namespace gko { namespace config { -// For Ic and Ilu, we use additional ValueType to help Solver type decision -template -class IcSolverHelper { -public: - template - class Configurator { - public: - static - typename gko::preconditioner::Ic::parameters_type - parse(const pnode& config, const registry& context, - const type_descriptor& td_for_child) - { - return gko::preconditioner::Ic::parse( - config, context, td_for_child); - } - }; -}; - - -// Do not use the partial specialization for SolverBase and SolverBase -// because the default template arguments are allowed for a template template -// argument (detail: CWG 150 after c++17 -// https://en.cppreference.com/w/cpp/language/template_parameters#Template_template_arguments) -template