Skip to content

Commit 13160d9

Browse files
committed
Use new Grid constructor in README.md
1 parent 0c68306 commit 13160d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ var matrix = [
8383
[1, 0, 0, 0, 1],
8484
[0, 0, 1, 0, 0],
8585
];
86-
var grid = new PF.Grid(5, 3, matrix);
86+
var grid = new PF.Grid(matrix);
8787
```
8888

8989
Currently there are 10 path-finders bundled in this library, namely:

0 commit comments

Comments
 (0)