-
-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sage's new generic HNF doesn't quite work right wrt the free modules code #9053
Comments
comment:2
Attachment: trac_9053_fixes_pivots.patch.gz The bug was a single line in _echelon_form_PID which returned the wrong pivot element for matrices of one row. The attached patch should fix that. While doctesting all of Sage I received two errors (that seem unrelated?):
The first apparently also came up during discussions on #9390. The doctest failure in sage0.py "randomly" appeared or not when I reran the test mutiple times. I'm not quite sure what to make of this... |
Author: Moritz Minzlaff |
comment:3
I just reran the above two doctests on a different machine and receieved no doctest failures. shrug |
line wrapping |
comment:4
Attachment: trac_9053_fixes_pivots.v2.patch.gz I can't replicate your doctest failures. Everything passes on sage.math, except the ever-troublesome devel/sage/sage/tests/startup.py , which I tried again individually with no problems. The fix itself looks good. Reference builds, though how that could be affected I don't know. IIRC all code should be within 79 columns, so I split some lines in this function for you while you're at it. Feel free to rewrite it if it looks ugly, haha. |
Reviewer: Keshav Kini |
comment:5
(for patchbot...) |
This comment has been minimized.
This comment has been minimized.
Merged: sage-4.7.alpha4 |
The last output below should obviously be True, but it is False.
Apply trac_9053_fixes_pivots.v2.patch
CC: @mminzlaff
Component: linear algebra
Author: Moritz Minzlaff
Reviewer: Keshav Kini
Merged: sage-4.7.alpha4
Issue created by migration from https://trac.sagemath.org/ticket/9053
The text was updated successfully, but these errors were encountered: