Skip to content

Commit a2f149b

Browse files
committed
Remove unnecessary returnCentroid for CustomPoint
1 parent 67d7fcc commit a2f149b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/custom_distance/example_custom_distance.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ struct ArborX::GeometryTraits::tag<CustomPoint>
5050
using type = ArborX::GeometryTraits::PointTag;
5151
};
5252

53-
// Provide the required centroid function for the custom data type
54-
KOKKOS_FUNCTION auto returnCentroid(CustomPoint const &point) { return point; }
55-
5653
// Provide the distance function between indexable getter geometry and the
5754
// custom data type
5855
KOKKOS_FUNCTION auto distance(CustomPoint const &p, CustomPoint const &q)

0 commit comments

Comments
 (0)