Skip to content

Commit

Permalink
Fix typo in impl_store_on_device.
Browse files Browse the repository at this point in the history
  • Loading branch information
icui committed Feb 26, 2025
1 parent 2d6fb85 commit 0dee5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/compute/fields/data_access.tpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

Expand Down

0 comments on commit 0dee5ec

Please sign in to comment.