Skip to content

Commit 31fd0dd

Browse files
committed
fixes
1 parent 6e4436c commit 31fd0dd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/phtree/common/b_plus_tree_heap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ class b_plus_tree_heap {
463463
}
464464

465465
private:
466-
b_plus_tree_multimap<Key, Value, Compare> data_; // The heap array.
466+
::phtree::bptree::b_plus_tree_multimap<Key, Value, Compare> data_; // The heap array.
467467
};
468468

469469
namespace detail {

include/phtree/v16/iterator_knn_hs2.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ class IteratorKnnHS2 : public IteratorWithFilter<T, CONVERT, FILTER> {
212212
}
213213

214214
double DistanceToNode(const KeyInternal& prefix, std::uint32_t bits_to_ignore) {
215-
assert(bits_to_ignore < MAX_BIT_WIDTH<SCALAR>);
216-
SCALAR mask_min = MAX_MASK<SCALAR> << bits_to_ignore;
215+
assert(bits_to_ignore < detail::MAX_BIT_WIDTH<SCALAR>);
216+
SCALAR mask_min = detail::MAX_MASK<SCALAR> << bits_to_ignore;
217217
SCALAR mask_max = ~mask_min;
218218
KeyInternal buf;
219219
// The following calculates the point inside the node that is closest to center_.

0 commit comments

Comments
 (0)