Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lennard Schober committed May 2, 2024
1 parent d27cc1f commit 3359e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/scripts2.js
Original file line number Diff line number Diff line change
Expand Up @@ -1361,7 +1361,7 @@ async function generateEmpty() {
elem.innerText = "stop!";
toggleVisualizeButton();
globalGrid = Array.from({ length: numRows }, () => Array(numCols).fill(CellState.EMPTY));
weightGrid = Array.from({ length: numRows }, () => Array(numCols).fill(CellState.EMPTY));
weightGrid = Array.from({ length: numRows }, () => Array(numCols).fill(CellState.WEIGHT));
globalGrid[sRow][sCol] = CellState.START;
globalGrid[tRow][tCol] = CellState.END;
resetCanvas();
Expand Down

0 comments on commit 3359e53

Please sign in to comment.