sage
ad0ea73c - gh-35310: Fix radius and diameter for digraphs with non-comparable vertices

Commit
3 years ago
gh-35310: Fix radius and diameter for digraphs with non-comparable vertices Fixes #35300. ### 📚 Description We specify an ordering of the vertices in the call to `eccentricity`. This way we fix both `radius` and `diameter`. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [x] I have made sure that the title is self-explanatory and the description concisely explains the PR. - [x] I have linked an issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open pull requests that this PR logically depends on --> <!-- - #xyz: short description why this is a dependency - #abc: ... --> URL: https://github.com/sagemath/sage/pull/35310 Reported by: David Coudert Reviewer(s): Frédéric Chapoton
Author
Release Manager
Committer
Release Manager
Loading