Skip to content

Commit e969198

Browse files
committed
#404, Format Code 2.5.32
1 parent 6878243 commit e969198

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

2 Sorting/2.5/SortApplication/AStar.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,7 @@ public T[] GetPath(T start, T goal)
102102

103103
// 新状态
104104
if (!openSet.Contains(neighbor))
105-
{
106105
openSet.Insert(neighbor);
107-
}
108-
109106
else if (gScoreTentative >= gScore[neighbor])
110107
continue;
111108

0 commit comments

Comments
 (0)