diff options
| author | Simon O'Shea <osheas1@wit.edu> | 2023-08-09 14:36:15 -0400 |
|---|---|---|
| committer | Simon O'Shea <osheas1@wit.edu> | 2023-08-09 14:36:15 -0400 |
| commit | 62e310b9edb9911ce6979c6cc813c1db2d056557 (patch) | |
| tree | 8526bd72b6e39fbffd189ebe81697495798421eb | |
| parent | 8181a3426aad23fca4449ff3f0858ba58733bd21 (diff) | |
upped DFS cap
| -rw-r--r-- | Pathfinding Visualizer/Assets/Scripts/Pathfinder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Pathfinding Visualizer/Assets/Scripts/Pathfinder.cs b/Pathfinding Visualizer/Assets/Scripts/Pathfinder.cs index c2b9e6d..d8382b5 100644 --- a/Pathfinding Visualizer/Assets/Scripts/Pathfinder.cs +++ b/Pathfinding Visualizer/Assets/Scripts/Pathfinder.cs @@ -208,7 +208,7 @@ public class Pathfinder dfsStack.Push(initialState); - int cap = 90000; + int cap = 2000000; while (dfsStack.Count > 0 && cap > 0) { Node currentNode = dfsStack.Pop(); |
