forked from networkx/networkx
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up similarity.py and use dataclasses for storing state (network…
…x#5831) * Clean up similarity.py and use dataclasses for storing state * use nonlocal to stop using an object to store maxcost value
- Loading branch information
1 parent
8310afa
commit 747e094
Showing
1 changed file
with
28 additions
and
40 deletions.
There are no files selected for viewing
This file contains 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