fix(arc1): index mod should equal thread count

This commit is contained in:
seeplusplus 2020-08-16 20:55:50 -04:00
parent 2d3816341e
commit b4062ef699

View File

@ -21,7 +21,7 @@ fn main() {
let mut sum = 0;
while i < child_numbers.len() {
sum += child_numbers[i];
i += 5;
i += 8;
}
println!("Sum of offset {} is {}", offset, sum);
}));