Skip to content

Commit

Permalink
Make use of new insert function
Browse files Browse the repository at this point in the history
  • Loading branch information
schnellerhase committed Aug 28, 2024
1 parent acc536e commit 8d6b1e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/test/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ void test_matrix()
{
auto map0 = std::make_shared<common::IndexMap>(MPI_COMM_WORLD, 8);
la::SparsityPattern p(MPI_COMM_WORLD, {map0, map0}, {1, 1});
p.insert(std::vector{0}, std::vector{0});
p.insert(std::vector{4}, std::vector{5});
p.insert(std::vector{5}, std::vector{4});
p.insert(0, 0);
p.insert(4, 5);
p.insert(5, 4);
p.finalize();

using T = float;
Expand Down

0 comments on commit 8d6b1e2

Please sign in to comment.