We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a07a70e commit c025f8aCopy full SHA for c025f8a
cellular_automata/wa_tor.py
@@ -71,7 +71,7 @@ def reset_reproduction_time(self) -> None:
71
True
72
"""
73
self.remaining_reproduction_time = (
74
- PREY_REPRODUCTION_TIME if self.prey is True else PREDATOR_REPRODUCTION_TIME
+ PREY_REPRODUCTION_TIME if self.prey else PREDATOR_REPRODUCTION_TIME
75
)
76
77
def __repr__(self) -> str:
0 commit comments