Skip to content

Commit

Permalink
fix windows and icpx
Browse files Browse the repository at this point in the history
  • Loading branch information
yhmtsai committed Sep 18, 2024
1 parent e4268ed commit 5863eb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/ginkgo/core/preconditioner/ic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ class Ic : public EnableLinOp<Ic<LSolverType, IndexType>>, public Transposable {
generate_default_solver(const std::shared_ptr<const Executor>& exec,
const std::shared_ptr<const LinOp>& mtx)
{
constexpr gko::remove_complex<value_type> default_reduce_residual{1e-4};
const gko::remove_complex<value_type> default_reduce_residual{1e-4};
const unsigned int default_max_iters{
static_cast<unsigned int>(mtx->get_size()[0])};

Expand Down
4 changes: 2 additions & 2 deletions include/ginkgo/core/reorder/mc64.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ class Mc64 final
* This parameter controls the tolerance below which a weight is
* considered to be zero.
*/
remove_complex<ValueType> GKO_FACTORY_PARAMETER_SCALAR(tolerance,
1e-14);
remove_complex<ValueType> GKO_FACTORY_PARAMETER_SCALAR(
tolerance, remove_complex<ValueType>{1e-14});
};

/**
Expand Down

0 comments on commit 5863eb5

Please sign in to comment.