Skip to content

Commit 8a7b6b2

Browse files
committed
1 parent 4b79d77 commit 8a7b6b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphs/greedy_best_first.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ def get_successors(self, parent: Node) -> list[Node]:
146146
Node(
147147
pos_x,
148148
pos_y,
149-
self.target.pos_y,
150149
self.target.pos_x,
150+
self.target.pos_y,
151151
parent.g_cost + 1,
152152
parent,
153153
)

0 commit comments

Comments
 (0)