Skip to content

Commit

Permalink
Use better name for an argument
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop committed Apr 9, 2024
1 parent fb2ec1f commit 1f52269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ArborX_DBSCAN.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ struct WithinRadiusGetter

template <typename Point, typename Index>
KOKKOS_FUNCTION auto
operator()(PairValueIndex<Point, Index> const &value) const
operator()(PairValueIndex<Point, Index> const &pair) const
{
static_assert(GeometryTraits::is_point_v<Point>);

constexpr int dim = GeometryTraits::dimension_v<Point>;
auto const &hyper_point =
reinterpret_cast<ExperimentalHyperGeometry::Point<dim> const &>(
value.value);
pair.value);
using ArborX::intersects;
return intersects(ExperimentalHyperGeometry::Sphere<dim>{hyper_point, _r});
}
Expand Down

0 comments on commit 1f52269

Please sign in to comment.