Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
  • Loading branch information
trimscash committed Mar 13, 2024
1 parent cffdc46 commit 8c4db5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ fn main() {
let lens: Vec<usize> = Vec::from([skip_nums.len(), pick_lengths.len(), pick_offsets.len()]);
let max_length = *lens.iter().max().unwrap();

skip_nums.resize(max_length, 0);
pick_lengths.resize(max_length, 0);
skip_nums.resize(max_length, 1);
pick_lengths.resize(max_length, 1);
pick_offsets.resize(max_length, 0);

for ((skip_num, pick_offset), pick_length) in skip_nums
Expand Down

0 comments on commit 8c4db5e

Please sign in to comment.