From 1a11f1c00698c5e7e9efecc47d775ec7422b914e Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 16 Aug 2023 15:31:15 +0000 Subject: [PATCH] Avoid using deprecated functions in timing_matrix_free_kokkos.cc --- tests/performance/timing_matrix_free_kokkos.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/performance/timing_matrix_free_kokkos.cc b/tests/performance/timing_matrix_free_kokkos.cc index 9305132a49..37365d1e1f 100644 --- a/tests/performance/timing_matrix_free_kokkos.cc +++ b/tests/performance/timing_matrix_free_kokkos.cc @@ -282,8 +282,8 @@ run(const unsigned int n_refinements) LinearAlgebra::ReadWriteVector rw_vector( src.get_partitioner()->locally_owned_range()); - rw_vector.import(src_host, VectorOperation::insert); - src.import(rw_vector, VectorOperation::insert); + rw_vector.import_elements(src_host, VectorOperation::insert); + src.import_elements(rw_vector, VectorOperation::insert); dst = 0.0; } -- 2.39.5