Skip to content

Commit

Permalink
fix ambiguous on empty constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
yhmtsai committed May 8, 2024
1 parent 636bc71 commit a10beb2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/mpi/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,12 @@ TYPED_TEST(MatrixCreation, BuildFromExistingData)
auto rank = this->comm.rank();
I<I<value_type>> res_local[] = {{{2, 0}, {0, 0}}, {{0, 5}, {0, 0}}, {{0}}};
std::array<gko::dim<2>, 3> size_local{{{2, 2}, {2, 2}, {1, 1}}};
std::array<matrix_data, 3> dist_input_local{{{size_local[0], {{0, 0, 2}}},
{size_local[1], {{0, 1, 5}}},
{size_local[2], {{}}}}};
std::array<matrix_data, 3> dist_input_local{
{{size_local[0], {{0, 0, 2}}},
{size_local[1], {{0, 1, 5}}},
{size_local[2],
std::initializer_list<
gko::detail::input_triple<value_type, local_index_type>>{}}}};
I<I<value_type>> res_non_local[] = {
{{1, 0}, {3, 4}}, {{0, 0, 6}, {8, 7, 0}}, {{10, 9}}};
std::array<gko::dim<2>, 3> size_non_local{{{2, 2}, {2, 3}, {1, 2}}};
Expand Down

0 comments on commit a10beb2

Please sign in to comment.