Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyass committed Nov 13, 2024
1 parent d415ce5 commit f90e159
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl AccumulatingTransform for BlockCompactNoSplitBuilder {
res.push(Self::create_output_data(&mut self.staged_blocks));
}

if self.check_for_compact() || self.pending_blocks.is_empty() {
if self.pending_blocks.is_empty() || self.check_for_compact() {
// N <= blocks < 2N
std::mem::swap(&mut self.staged_blocks, &mut self.pending_blocks);
} else {
Expand Down

0 comments on commit f90e159

Please sign in to comment.