Skip to content

Commit 49edf71

Browse files
maxflow comments
1 parent af97c11 commit 49edf71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

experimental/algorithm/LAGr_MaxFlow.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -980,10 +980,10 @@ int LAGr_MaxFlow
980980
// y = Map*e using the MxeSemiring
981981
GRB_TRY(GrB_mxv(y, NULL, NULL, MxeSemiring, Map, e, NULL));
982982

983-
// remove empty tuples from y
983+
// remove empty tuples (0,inf,-1) from y
984984
GRB_TRY(GrB_select(y, NULL, NULL, Prune, y, -1, NULL));
985985

986-
// relabel, update heights
986+
// relabel, updating the height/label vector d
987987
// d<struct(y)> = Relabel (d, y) using eWiseMult
988988
GRB_TRY(GrB_eWiseMult(d, y, NULL, Relabel, d, y, GrB_DESC_S));
989989

0 commit comments

Comments
 (0)