Skip to content

Commit

Permalink
Merge pull request #515 from PrincetonUniversity/issue-514
Browse files Browse the repository at this point in the history
Fix typo in impl_store_on_device.
  • Loading branch information
icui authored Feb 26, 2025
2 parents 2d6fb85 + 0dee5ec commit a2b81db
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 a2b81db

Please sign in to comment.