Skip to content

Commit b9cea9e

Browse files
authored
grid = np.char.chararray((n, n))
1 parent 4213298 commit b9cea9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphs/multi_heuristic_astar.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def key(start: TPos, i: int, goal: TPos, g_function: dict[TPos, float]):
7979

8080

8181
def do_something(back_pointer, goal, start):
82-
grid = np.chararray((n, n))
82+
grid = np.char.chararray((n, n))
8383
for i in range(n):
8484
for j in range(n):
8585
grid[i][j] = "*"

0 commit comments

Comments
 (0)