propagate each human consecutively

This commit is contained in:
2022-05-05 14:33:52 +02:00
parent 6684ad2675
commit 94466c7f1b
2 changed files with 88 additions and 10 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ fn main() {
let mut counter: u32 = 0;
loop {
counter += 1;
stats = population.propagate();
stats = population.propagate_new();
//population.display();
println!(
"Normal: {} Infecteds: {} Immunes: {} Deads: {}",