Fix array name

This commit is contained in:
Antti H S Laaksonen 2017-05-02 17:50:35 +03:00
parent 675d34319e
commit 7279e864da
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ The algorithm consists of $n-1$ rounds,
and on each round the algorithm goes through
all edges of the graph and tries to
reduce the distances.
The algorithm constructs an array \texttt{distance}
The algorithm constructs an array \texttt{dist}
that will contain the distance from $x$
to all nodes in the graph.
The constant \texttt{INF} denotes an infinite distance.