diff --git a/examples/sunlinsol/ginkgo/test_sunlinsol_ginkgo.cpp b/examples/sunlinsol/ginkgo/test_sunlinsol_ginkgo.cpp index a1efd20913..8476bd6a0f 100644 --- a/examples/sunlinsol/ginkgo/test_sunlinsol_ginkgo.cpp +++ b/examples/sunlinsol/ginkgo/test_sunlinsol_ginkgo.cpp @@ -144,7 +144,7 @@ __global__ void fill_kernel(sunindextype mat_rows, sunindextype mat_cols, #endif static void fill_matrix( - std::shared_ptr>& matrix) + std::shared_ptr> matrix) { sunindextype mat_rows = static_cast(matrix->get_size()[0]); sunindextype mat_cols = static_cast(matrix->get_size()[1]); @@ -230,7 +230,7 @@ static void fill_matrix( #endif } -static void fill_matrix(std::shared_ptr>& matrix) +static void fill_matrix(std::shared_ptr> matrix) { sunindextype mat_rows = static_cast(matrix->get_size()[0]); sunindextype mat_cols = static_cast(matrix->get_size()[1]);