Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
yhmtsai committed Nov 28, 2023
1 parent 7854317 commit becee21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions core/config/solver_config.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Copyright (c) 2017-2023, the Ginkgo authors
// SPDX-FileCopyrightText: 2017-2023 The Ginkgo authors
//
// SPDX-License-Identifier: BSD-3-Clause
Expand Down Expand Up @@ -29,10 +28,10 @@ namespace gko {
namespace config {

// for valuetype only
#define BUILD_FROM_CONFIG(_enum) \
#define BUILD_FROM_CONFIG(_type) \
template <> \
deferred_factory_parameter<gko::LinOpFactory> \
build_from_config<LinOpFactoryType::_enum>( \
build_from_config<LinOpFactoryType::_type>( \
const pnode& config, const registry& context, \
gko::config::type_descriptor td) \
{ \
Expand Down
1 change: 0 additions & 1 deletion core/solver/cb_gmres.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ CbGmres<ValueType>::build_from_config(const config::pnode& config,
{
auto factory = solver::CbGmres<ValueType>::build();
common_solver_configure(factory, config, context, td_for_child);
common_solver_configure(factory, config, context, exec, td_for_child);
SET_VALUE(factory, size_type, krylov_dim, config);
if (config.contains("storage_precision")) {
auto get_storage_precision = [](std::string str) {
Expand Down

0 comments on commit becee21

Please sign in to comment.