Skip to content

Commit 684eb10

Browse files
author
zouyun
committed
delete trailing space
1 parent fbd2d69 commit 684eb10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graphs/shortest-path/dijkstra.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
!visited[i] && //and if we haven't visited this node
101101
//and this node is sibling of the current...
102102
Number.isFinite(graph[i][current.node])) {
103-
103+
104104
tempDistance = current.distance + graph[i][current.node];
105105
if (tempDistance < distance[i].distance) {
106106
distance[i].distance = tempDistance;

0 commit comments

Comments
 (0)