Skip to content
Snippets Groups Projects
Commit 7a2a809a authored by Michal Patera's avatar Michal Patera
Browse files

Update dinitz.c

parent bd765b79
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ double DFS (int cur, int end, double **graph, int *levels, int *visited, double
return flow;
}
visited[cur] = 1;
/*@ loop invariant 0 <= i <= end + 1;
/*@ loop invariant 0 <= i <= end;
@ loop invariant 0 <= flow <= DBL_MAX;
@ loop assigns i, graph[0..end][0..end], visited[0..end];
@ loop variant end - i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment