Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias Ribizel <mail@ribizel.de>
  • Loading branch information
fritzgoebel and upsj committed Jul 19, 2024
1 parent 5934dbd commit 3c16ba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/mpi/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ TYPED_TEST(Matrix, CanColScaleWithStride)

this->dist_mat->col_scale(col_scaling_factors);

GKO_ASSERT_EQ(col_scaling_factors->get_stride(), 2);
ASSERT_EQ(col_scaling_factors->get_stride(), 2);
GKO_ASSERT_MTX_NEAR(gko::as<csr>(this->dist_mat->get_local_matrix()),
res_col_scale_local[rank], 0);
GKO_ASSERT_MTX_NEAR(gko::as<csr>(this->dist_mat->get_non_local_matrix()),
Expand Down Expand Up @@ -615,7 +615,7 @@ TYPED_TEST(Matrix, CanRowScaleWithStride)

this->dist_mat->row_scale(row_scaling_factors);

GKO_ASSERT_EQ(row_scaling_factors->get_stride(), 2);
ASSERT_EQ(row_scaling_factors->get_stride(), 2);
GKO_ASSERT_MTX_NEAR(gko::as<csr>(this->dist_mat->get_local_matrix()),
res_row_scale_local[rank], 0);
GKO_ASSERT_MTX_NEAR(gko::as<csr>(this->dist_mat->get_non_local_matrix()),
Expand Down

0 comments on commit 3c16ba4

Please sign in to comment.