Skip to content

Commit 618b3a2

Browse files
committed
remove the multiplier argument in assert_equal_to_non_distributed_vector
1 parent f2e0827 commit 618b3a2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/mpi/preconditioner/schwarz.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ class SchwarzPreconditioner : public CommonMpiTestFixture {
146146

147147
void assert_equal_to_non_distributed_vector(
148148
std::shared_ptr<dist_vec_type> dist_vec,
149-
std::shared_ptr<local_vec_type> local_vec,
150-
gko::remove_complex<value_type> mult =
151-
gko::one<gko::remove_complex<value_type>>())
149+
std::shared_ptr<local_vec_type> local_vec)
152150
{
153151
auto host_row_part = row_part->clone(ref);
154152
auto l_dist_vec = dist_vec->get_local_vector();
@@ -159,8 +157,7 @@ class SchwarzPreconditioner : public CommonMpiTestFixture {
159157
local_vec->get_const_values() +
160158
host_row_part->get_range_bounds()[comm.rank()]),
161159
l_dist_vec->get_size()[1]);
162-
GKO_ASSERT_MTX_NEAR(l_dist_vec, vec_view.get(),
163-
mult * r<value_type>::value);
160+
GKO_ASSERT_MTX_NEAR(l_dist_vec, vec_view.get(), r<value_type>::value);
164161
}
165162
};
166163

0 commit comments

Comments
 (0)