Skip to content

Commit 25e040e

Browse files
committed
fix: fix infinite loops
1 parent aa3fcd3 commit 25e040e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,11 @@ The DOI above is a placeholder. After your first release, run `python tools/upda
6565
---
6666

6767
## Quick start (Python)
68-
6968
```python
7069
>>> from ssspx import Graph, SSSPSolver, SolverConfig
7170
>>> G = Graph.from_edges(4, [(0, 1, 1.0), (1, 2, 2.0), (0, 2, 4.0), (2, 3, 1.0)])
7271
>>> solver = SSSPSolver(G, 0, config=SolverConfig())
73-
>>> solver.solve().distances
72+
>>> solver.solve().distances # doctest: +NORMALIZE_WHITESPACE
7473
[0.0, 1.0, 3.0, 4.0]
7574
```
7675

0 commit comments

Comments
 (0)