Fixes bug in parse_into_buckets that skips adding every 4th bridgeline
This commit is contained in:
parent
6afc557ad5
commit
596901b174
|
@ -76,8 +76,9 @@ pub fn parse_into_buckets(
|
|||
count += 1;
|
||||
} else {
|
||||
buckets.push(bucket);
|
||||
count = 0;
|
||||
bucket = [BridgeLine::default(); MAX_BRIDGES_PER_BUCKET];
|
||||
bucket[0] = bridgeline;
|
||||
count = 1;
|
||||
}
|
||||
}
|
||||
// Handle the extra buckets that were not allocated already
|
||||
|
|
Loading…
Reference in New Issue