You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the iterate step, the graph g is passed to iterate. However, as ContractEdge mutates the graph, it will render contracted g passed to iterate on the second and all the following rounds.
On the
iterate
step, the graphg
is passed toiterate
. However, asContractEdge
mutates the graph, it will render contractedg
passed toiterate
on the second and all the following rounds.https://github.com/chasestarr/mincut/blob/master/mincut.go#L17 should have been something like
The text was updated successfully, but these errors were encountered: