Skip to content

Commit c025f8a

Browse files
Update cellular_automata/wa_tor.py
Co-authored-by: Tianyi Zheng <[email protected]>
1 parent a07a70e commit c025f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cellular_automata/wa_tor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def reset_reproduction_time(self) -> None:
7171
True
7272
"""
7373
self.remaining_reproduction_time = (
74-
PREY_REPRODUCTION_TIME if self.prey is True else PREDATOR_REPRODUCTION_TIME
74+
PREY_REPRODUCTION_TIME if self.prey else PREDATOR_REPRODUCTION_TIME
7575
)
7676

7777
def __repr__(self) -> str:

0 commit comments

Comments
 (0)