We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be6ec02 commit f0e28e3Copy full SHA for f0e28e3
examples/kd_tree/kd_tree_traits.cpp
@@ -27,7 +27,8 @@ struct Traits {
27
}
28
29
// Returns the idx'th point from the input space.
30
- inline static PointType PointAt(SpaceType const& space, IndexType const idx) {
+ inline static PointType const& PointAt(
31
+ SpaceType const& space, IndexType const idx) {
32
return space[idx];
33
34
0 commit comments