From 9132c2f869e166f871027a99d1746f712397ce08 Mon Sep 17 00:00:00 2001 From: Paul Jungeblut Date: Mon, 24 Nov 2014 15:32:56 +0100 Subject: small fixes --- graph/floydWarshall.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graph') diff --git a/graph/floydWarshall.cpp b/graph/floydWarshall.cpp index ee56441..f5c950d 100644 --- a/graph/floydWarshall.cpp +++ b/graph/floydWarshall.cpp @@ -1,4 +1,4 @@ -//initialize adjmat, adjmat[i][i] = 0, adjmat[i][j] = INF if no edge is between i and j +//initialize adjmat, adjmat[i][i] = 0, adjmat[i][j] = INF if no edge is between i and j, length otherwise for (k = 0; k < MAX_V; k++) { for (i = 0; i < MAX_V; i++) { for (j = 0; j < MAX_V; j++) { -- cgit v1.2.3