Skip to content

Commit d15b66f

Browse files
committed
Fix typo in member variable name
1 parent 5ca332e commit d15b66f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nanoflann.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ class KDTreeBaseClass
11011101
Size size(const Derived& obj) const { return obj.size_; }
11021102

11031103
/** Returns the length of each point in the dataset */
1104-
Size veclen(const Derived& obj) const { return DIM > 0 ? DIM : obj.dim; }
1104+
Size veclen(const Derived& obj) const { return DIM > 0 ? DIM : obj.dim_; }
11051105

11061106
/// Helper accessor to the dataset points:
11071107
ElementType dataset_get(

0 commit comments

Comments
 (0)