sknetwork-team / scikit-network

Graph Algorithms
Other
602 stars 67 forks source link

Update shortest_path.py #518

Closed hcars closed 2 years ago

hcars commented 2 years ago

Adding exception handling for NegativeCycleErrors to the shortest path computations.

Modifications:

Impacted submodules:

(e.g. sknetwork.topology)

This pull request:

(your PR must match these criteria before review)

Any doubts about some technicalities? Do not hesitate to look at the dedicated Wiki.

tbonald commented 2 years ago

Thanks for this PR. Please target the develop branch.