Skip to content

Commit

Permalink
sagemathgh-39220: some care in src/sage/graphs/comparability.pyx
Browse files Browse the repository at this point in the history
    
With this PR, we fix many small coding style issues in
`src/sage/graphs/comparability.pyx`. We also do a minor modification to
method `greedy_is_comparability` that was failing for graphs with
vertices of different types.

### 📝 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.
- [ ] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#39220
Reported by: David Coudert
Reviewer(s): Frédéric Chapoton
  • Loading branch information
Release Manager committed Jan 9, 2025
2 parents 302646b + facd109 commit 64bfe98
Showing 1 changed file with 172 additions and 138 deletions.
Loading

0 comments on commit 64bfe98

Please sign in to comment.