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 a6afa1e commit f4365a7Copy full SHA for f4365a7
src/core/alex_nodes.h
@@ -1228,6 +1228,7 @@ class AlexDataNode : public AlexNode<T, P> {
1228
static_cast<double>(num_keys + 1)),
1229
static_cast<double>(data_capacity_));
1230
contraction_threshold_ = data_capacity_ * kMinDensity_;
1231
+ min_key_ = values[0].first;
1232
max_key_ = values[num_keys - 1].first;
1233
}
1234
@@ -1328,6 +1329,7 @@ class AlexDataNode : public AlexNode<T, P> {
1328
1329
ALEX_DATA_NODE_KEY_AT(i) = kEndSentinel_;
1330
1331
1332
+ min_key_ = node->min_key_;
1333
max_key_ = node->max_key_;
1334
1335
expansion_threshold_ =
0 commit comments