Fix failing docstring in random testing for quaternion_algebra.py#37489
Merged
vbraun merged 2 commits intosagemath:developfrom Mar 31, 2024
Merged
Fix failing docstring in random testing for quaternion_algebra.py#37489vbraun merged 2 commits intosagemath:developfrom
quaternion_algebra.py#37489vbraun merged 2 commits intosagemath:developfrom
Conversation
Contributor
Author
|
I don't know whether to label this as minor, as it's a small bug, or blocker, as it currently results in CI failure. |
yyyyx4
approved these changes
Feb 27, 2024
Member
yyyyx4
left a comment
There was a problem hiding this comment.
Thanks, looks good enough to me. I guess blocker makes sense since it's a really trivial change (not much can go wrong by merging it), and the failure being present in a release could waste quite a few people's time.
Contributor
Author
|
Thanks Lorenz :) |
Member
|
Relabelling to |
5 tasks
Contributor
Author
|
@vbraun following Lorenz's message -- this bug is causing repeated CI failures in my PR considering the tiny footprint of this PR it would be nice to get it included? |
|
Documentation preview for this PR (built with commit 949d94e; changes) is ready! 🎉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The current code:
Causes a doctest to fail as a
Ring morphismis expected but whenO0 == O1then instead aRing endomorphismis computed instead.We simply truncate the expected output for the random testing from
Ring morphismtoRing ...fixing the failure.Fixes #37488