Skip to content

Commit

Permalink
Remove old code artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop committed Apr 4, 2024
1 parent d43722c commit 6fd2cfa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/details/ArborX_DetailsNearestBufferProvider.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ struct NearestBufferProvider

KOKKOS_FUNCTION auto operator()(int i) const
{
auto const *offset_ptr = &_offset(i);
return Kokkos::subview(_buffer,
Kokkos::make_pair(*offset_ptr, *(offset_ptr + 1)));
Kokkos::make_pair(_offset(i), _offset(i + 1)));
}

// Enclosing function for an extended __host__ __device__ lambda cannot have
Expand Down

0 comments on commit 6fd2cfa

Please sign in to comment.