From 86702995988cc26f927378ef9a74fbf8bb39975a Mon Sep 17 00:00:00 2001 From: Caeden Perelli-Harris Date: Sun, 30 Jul 2023 19:40:24 +0100 Subject: [PATCH] Update cellular_automata/wa_tor.py Co-authored-by: Tianyi Zheng --- cellular_automata/wa_tor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cellular_automata/wa_tor.py b/cellular_automata/wa_tor.py index 7e7860fe4..4dee3b4e5 100644 --- a/cellular_automata/wa_tor.py +++ b/cellular_automata/wa_tor.py @@ -334,8 +334,7 @@ class WaTor: Entity(prey=False, coords=(0, 1), remaining_reproduction_time=20, energy_value=15)]] """ - coords = entity.coords - row, col = coords + row, col = coords = entity.coords for direction in direction_orders: # If the direction is North and the northern square