Skip to content

Commit 841a1bd

Browse files
committed
h:55 inital -> initial
1 parent b8c632b commit 841a1bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/dijkstra.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace alg {
5252
// all vertices
5353
Graph::Adjacent * a;
5454
list_for_each_entry(a, &g.list(), a_node){
55-
dist[a->v.id] = LARGE_NUMBER; // set inital distance to each vertex to a large number
55+
dist[a->v.id] = LARGE_NUMBER; // set initial distance to each vertex to a large number
5656
(*previous)[a->v.id] = UNDEFINED; // clear path to UNDEFINED
5757
visited[a->v.id] = false; // all vertices are not visited
5858
Q.push(LARGE_NUMBER, a->v.id); // push all vertices to heap

0 commit comments

Comments
 (0)