From c34020fac0b012e035c34c5eee237e0ea7359073 Mon Sep 17 00:00:00 2001 From: loker404 <68910921+loker404@users.noreply.github.com> Date: Mon, 22 Sep 2025 00:38:25 +0800 Subject: [PATCH] Fix undefined variable in get_input_feature function Fix undefined variable in get_input_feature function --- python/play.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/play.py b/python/play.py index df9d2954f..543542482 100644 --- a/python/play.py +++ b/python/play.py @@ -74,7 +74,7 @@ def get_input_feature(gs, feature_idx): locs_and_values = [] for y in range(gs.board.y_size): for x in range(gs.board.x_size): - loc = board.loc(x,y) + loc = gs.board.loc(x,y) locs_and_values.append((loc,bin_input_data[0,feature_idx,y,x])) return locs_and_values