Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Apply max flow patch from ticket #747

  • Loading branch information...
commit 019354cd56ff0cf058f78bd175f134336331f224 1 parent 2eb2420
@loicseguin loicseguin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  networkx/algorithms/flow/maxflow.py
View
2  networkx/algorithms/flow/maxflow.py
@@ -215,7 +215,7 @@ def _create_flow_dict(G, H, capacity='capacity'):
flow[u][v] = abs(inf_capacity_flows[(u, v)] -
inf_capacity_flows[(v, u)])
else:
- flow[u][v] = abs(G[u][v][capacity] - H[v][u][capacity])
+ flow[u][v] = G[u][v][capacity]
flow[v][u] = flow[u][v]
return flow

0 comments on commit 019354c

Please sign in to comment.
Something went wrong with that request. Please try again.