Commit da0856b
Release Manager
gh-40710: Allow calling is_perfect() on immutable graphs
This is a simple fix to avoid an exception when calling `is_perfect()`
on an immutable graph.
The fix works by removing an unnecessary `remove_loops()` call added in
915a5e2.
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation and checked the documentation
preview.
URL: #40710
Reported by: Lennard Hofmann
Reviewer(s): David Coudert
1 file changed
+12
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2670 | 2670 | | |
2671 | 2671 | | |
2672 | 2672 | | |
2673 | | - | |
| 2673 | + | |
2674 | 2674 | | |
2675 | 2675 | | |
2676 | 2676 | | |
| |||
2679 | 2679 | | |
2680 | 2680 | | |
2681 | 2681 | | |
2682 | | - | |
| 2682 | + | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
2683 | 2691 | | |
2684 | | - | |
2685 | | - | |
2686 | | - | |
| 2692 | + | |
| 2693 | + | |
2687 | 2694 | | |
2688 | 2695 | | |
2689 | 2696 | | |
2690 | | - | |
2691 | | - | |
2692 | | - | |
2693 | | - | |
2694 | 2697 | | |
2695 | 2698 | | |
2696 | 2699 | | |
| |||
0 commit comments