Skip to content

Commit 3c30bce

Browse files
committed
Modified Astar code
1 parent ff23c98 commit 3c30bce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Graphs/Astar.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ function createGraph(V, E) {
7777
return [] // Return empty path if there's no path to the target
7878
}
7979

80-
export { createGraph, aStar }
81-
80+
module.exports = { createGraph, aStar }
81+
8282
// const V = 9
8383
// const E = [
8484
// [0, 1, 4],

0 commit comments

Comments
 (0)