Closed MK-3PP closed 4 years ago
KDTree.hpp declares
inline double dist(const point_t &, const point_t &); inline double dist(const KDNodePtr &, const KDNodePtr &);
but KDTree.cpp implements
inline double dist2(const point_t &, const point_t &); inline double dist2(const KDNodePtr &, const KDNodePtr &);
istead.
Either declare dist2 in header file or implement dist implementation file.
yeah that was a silly bug
KDTree.hpp declares
but KDTree.cpp implements
istead.
Either declare dist2 in header file or implement dist implementation file.