Skip to content

Commit 74133ad

Browse files
committed
make tolerance const rather than constexpr
1 parent 4dcbc7d commit 74133ad

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/mpi/preconditioner/schwarz.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,8 @@ TYPED_TEST(SchwarzPreconditioner, CanApplyPreconditionedSolverWithL1Smoother)
401401
using cg = typename TestFixture::solver_type;
402402
using prec = typename TestFixture::dist_prec_type;
403403
using local_matrix_type = typename TestFixture::local_matrix_type;
404-
constexpr double tolerance = r<value_type>::value;
404+
const double tolerance = r<value_type>::value;
405+
405406
auto iter_stop = gko::share(
406407
gko::stop::Iteration::build().with_max_iters(200u).on(this->exec));
407408
auto tol_stop = gko::share(

0 commit comments

Comments
 (0)