FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[networkx] Type max_flow_min_cost endpoints as nodes by Cherith1222 · Pull Request #16559 · python/typeshed · GitHub

Repository navigation

[networkx] Type max_flow_min_cost endpoints as nodes - #16559

Merged
JelleZijlstra merged 1 commit into
python:mainfrom
Cherith1222:fix/16544-max-flow-node-type
Oct 20, 2026
Merged

JelleZijlstra merged 1 commit into
python:mainfrom
Cherith1222:fix/16544-max-flow-node-type

Conversation

Copy link
Copy Markdown
Contributor

Use the graph node type for s and t in max_flow_min_cost.

Fixes #16544.

Upstream: https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.flow.max_flow_min_cost.html

Agent: Cursor

Drafted with Cursor.

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

JelleZijlstra merged commit 5240732 into python:main Oct 20, 2026
74 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nx.max_flow_min_cost should support taking in two graph nodes

2 participants


Back | FazBrowse Home | New Git URL