Update cellular_automata/game_of_life.py

This commit is contained in:
Tianyi Zheng 2023-07-31 14:13:40 -07:00 committed by GitHub
parent a8ff2cbb6e
commit afe53a9564
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ def run(canvas):
@returns: @returns:
-- --
List canvas of population after one step
""" """
canvas = np.array(canvas) canvas = np.array(canvas)
next_gen_canvas = np.array(create_canvas(canvas.shape[0])) next_gen_canvas = np.array(create_canvas(canvas.shape[0]))