forked from Maxluli/RustyPropagation
main: display normals too
This commit is contained in:
+2
-2
@@ -37,8 +37,8 @@ fn main() {
|
|||||||
stats = population.propagate();
|
stats = population.propagate();
|
||||||
//population.display();
|
//population.display();
|
||||||
println!(
|
println!(
|
||||||
"Infecteds: {} Immunes: {} Deads: {}",
|
"Normal: {} Infecteds: {} Immunes: {} Deads: {}",
|
||||||
stats[1], stats[2], stats[3]
|
stats[0], stats[1], stats[2], stats[3]
|
||||||
);
|
);
|
||||||
if stats[1] == 0 {
|
if stats[1] == 0 {
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user