Fix array name
This commit is contained in:
parent
675d34319e
commit
7279e864da
|
@ -202,7 +202,7 @@ The algorithm consists of $n-1$ rounds,
|
||||||
and on each round the algorithm goes through
|
and on each round the algorithm goes through
|
||||||
all edges of the graph and tries to
|
all edges of the graph and tries to
|
||||||
reduce the distances.
|
reduce the distances.
|
||||||
The algorithm constructs an array \texttt{distance}
|
The algorithm constructs an array \texttt{dist}
|
||||||
that will contain the distance from $x$
|
that will contain the distance from $x$
|
||||||
to all nodes in the graph.
|
to all nodes in the graph.
|
||||||
The constant \texttt{INF} denotes an infinite distance.
|
The constant \texttt{INF} denotes an infinite distance.
|
||||||
|
|
Loading…
Reference in New Issue