-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
quaternion ideals' .scale() incorrectly copies cached left and right orders #32726
Comments
Branch: public/32726 |
This comment has been minimized.
This comment has been minimized.
Author: Lorenz Panny |
Commit: |
comment:2
Bumping priority since this bug can lead to mathematical errors. |
comment:3
Stalled in |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
This looks OK to me but I'm not an expert so I have two questions:
|
comment:6
Thanks for having a look.
|
comment:7
LGTM then, thanks. |
Reviewer: Michael Orlitzky |
Changed branch from public/32726 to |
The method
QuaternionFractionalIdeal_rational.scale()
always copies over the existing left and right orders ofself
to the scaled ideal. This is incorrect when the scaling factor does not lie in the center of the algebra, as demonstrated by this example:The patch fixes this by only copying over the cached orders when scaling on the other side, or when scaling by an element of
QQ
.CC: @pjbruin
Component: algebra
Stopgaps: mathematically_wrong
Author: Lorenz Panny
Branch/Commit:
4310b6c
Reviewer: Michael Orlitzky
Issue created by migration from https://trac.sagemath.org/ticket/32726
The text was updated successfully, but these errors were encountered: