Skip to content

Commit

Permalink
Try with non-ref leaf_value
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop committed Apr 9, 2024
1 parent 0579555 commit fd39c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/details/ArborX_DetailsHalfTraversal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct HalfTraversal

KOKKOS_FUNCTION void operator()(int i) const
{
auto const &leaf_value = HappyTreeFriends::getValue(_bvh, i);
auto const leaf_value = HappyTreeFriends::getValue(_bvh, i);
auto const predicate = _get_predicate(leaf_value);

int node = HappyTreeFriends::getRope(_bvh, i);
Expand Down

0 comments on commit fd39c11

Please sign in to comment.