Skip to content

Commit e18e24f

Browse files
committed
fix
1 parent 4774ae6 commit e18e24f

File tree

1 file changed

+2
-2
lines changed
  • ydb/core/tx/columnshard/engines/reader/duplicates

1 file changed

+2
-2
lines changed

Diff for: ydb/core/tx/columnshard/engines/reader/duplicates/manager.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ std::vector<ui64> TRangeIndex::FindIntersections(const ui64 p) const {
2727

2828
void TIntervalCounter::PropagateDelta(const TPosition& node) {
2929
if (PropagatedDeltas[node.GetIndex()]) {
30-
Count[node.GetIndex() * 2 + 1] += PropagatedDeltas[node.GetIndex()] * node.IntervalSize();
31-
Count[node.GetIndex() * 2 + 2] += PropagatedDeltas[node.GetIndex()] * node.IntervalSize();
30+
Count[node.GetIndex() * 2 + 1] += PropagatedDeltas[node.GetIndex()] * (node.IntervalSize() / 2);
31+
Count[node.GetIndex() * 2 + 2] += PropagatedDeltas[node.GetIndex()] * (node.IntervalSize() / 2);
3232
PropagatedDeltas[node.GetIndex()] = 0;
3333
}
3434
}

0 commit comments

Comments
 (0)