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 5ca332e commit d15b66fCopy full SHA for d15b66f
include/nanoflann.hpp
@@ -1101,7 +1101,7 @@ class KDTreeBaseClass
1101
Size size(const Derived& obj) const { return obj.size_; }
1102
1103
/** Returns the length of each point in the dataset */
1104
- Size veclen(const Derived& obj) const { return DIM > 0 ? DIM : obj.dim; }
+ Size veclen(const Derived& obj) const { return DIM > 0 ? DIM : obj.dim_; }
1105
1106
/// Helper accessor to the dataset points:
1107
ElementType dataset_get(
0 commit comments