From 0dee5ec9b085fc9641b71ebe2778495f958553fb Mon Sep 17 00:00:00 2001 From: Congyue Cui Date: Wed, 26 Feb 2025 14:40:46 -0500 Subject: [PATCH] Fix typo in impl_store_on_device. --- include/compute/fields/data_access.tpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/compute/fields/data_access.tpp b/include/compute/fields/data_access.tpp index 7ea80a67..94f27af4 100644 --- a/include/compute/fields/data_access.tpp +++ b/include/compute/fields/data_access.tpp @@ -543,7 +543,7 @@ impl_store_on_device(const specfem::point::simd_assembly_index &index, if constexpr (StoreDisplacement) { for (int icomp = 0; icomp < components; ++icomp) { Kokkos::Experimental::where(mask, point_field.displacement(icomp)) - .copy_to(&curr_field.h_field(iglob, icomp), tag_type()); + .copy_to(&curr_field.field(iglob, icomp), tag_type()); } }