Skip to content

Commit

Permalink
Update block.c
Browse files Browse the repository at this point in the history
Correct a long standing bug - decrease the number of parent blocks when a set of blocks are recombined.
  • Loading branch information
ctvaugh committed Feb 23, 2021
1 parent e7aa29b commit 3423df9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ref/block.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ void consolidate_blocks(void)
bp->number = pp->number;
bp->num_prime = pp->num_prime;
pp->number = -1;
num_parents--;
bp->level = pp->level;
bp->parent = pp->parent;
bp->parent_node = pp->parent_node;
Expand Down

0 comments on commit 3423df9

Please sign in to comment.