Skip to content

Commit

Permalink
remove reference
Browse files Browse the repository at this point in the history
  • Loading branch information
gardner48 committed May 17, 2024
1 parent 491a4c2 commit 45b1578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/sunlinsol/ginkgo/test_sunlinsol_ginkgo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ __global__ void fill_kernel(sunindextype mat_rows, sunindextype mat_cols,
#endif

static void fill_matrix(
std::shared_ptr<gko::matrix::Csr<sunrealtype, sunindextype>>& matrix)
std::shared_ptr<gko::matrix::Csr<sunrealtype, sunindextype>> matrix)
{
sunindextype mat_rows = static_cast<sunindextype>(matrix->get_size()[0]);
sunindextype mat_cols = static_cast<sunindextype>(matrix->get_size()[1]);
Expand Down Expand Up @@ -230,7 +230,7 @@ static void fill_matrix(
#endif
}

static void fill_matrix(std::shared_ptr<gko::matrix::Dense<sunrealtype>>& matrix)
static void fill_matrix(std::shared_ptr<gko::matrix::Dense<sunrealtype>> matrix)
{
sunindextype mat_rows = static_cast<sunindextype>(matrix->get_size()[0]);
sunindextype mat_cols = static_cast<sunindextype>(matrix->get_size()[1]);
Expand Down

0 comments on commit 45b1578

Please sign in to comment.