From b3ac8a85a84dacffc91dd08894c75e2486a19c11 Mon Sep 17 00:00:00 2001
From: Quentin Bolsee <quentin.bolsee@cba.mit.edu>
Date: Tue, 30 Jan 2024 20:26:51 +0000
Subject: [PATCH] Update README.md

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 2a866b8..aa03041 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ def step(grid):
     """
     computes one step of Conway's game of life on a toroidal 2D grid
     """
-    count = np.zeros(a.shape, dtype=np.uint8)
+    count = np.zeros(grid.shape, dtype=np.uint8)
     count[:, :] = grid
     # sum all 8 neighbors
     count += np.roll(grid, 1, axis=0) + np.roll(grid, -1, axis=0)
-- 
GitLab