Skip to content

Commit

Permalink
update tolerances
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikvn committed May 13, 2024
1 parent 2bc9de8 commit c7894eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/solver/batch_cg_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ TEST_F(BatchCg, CanSolveLargeBatchSizeHpdSystem)
&logger->get_num_iterations());
auto res_norm = gko::make_temporary_clone(exec->get_master(),
&logger->get_residual_norm());
GKO_ASSERT_BATCH_MTX_NEAR(res.x, linear_system.exact_sol, tol * 50);
GKO_ASSERT_BATCH_MTX_NEAR(res.x, linear_system.exact_sol, tol * 500);
for (size_t i = 0; i < num_batch_items; i++) {
auto comp_res_norm = res.host_res_norm->get_const_values()[i] /
linear_system.host_rhs_norm->get_const_values()[i];
Expand Down

0 comments on commit c7894eb

Please sign in to comment.