-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
make NumberFieldFractionalIdeal inherit from Ideal_fractional #32380
Comments
comment:2
needs a doctest |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:4
Done. |
comment:5
ok |
Reviewer: Frédéric Chapoton |
comment:6
Merge conflict |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
Thanks, fixed. |
comment:9
One (seems trivial) failing doctest according to the patchbot:
So some functionality is apparently changed for something that did not work before but now gives a result. Seems like a good thing. |
comment:10
Some quick testing suggests the failure is random (unrelated to this ticket, in any case). I've opened #32816 for this. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
Thanks. Then I am setting this back to a positive review. |
comment:13
Thank you! |
Changed branch from public/make_NumberFieldFractionalIdeal_inherit_from_Ideal_fractional to |
We have an
Ideal_fractional
parent class, but the most important type of fractional ideals in Sage (namely, for number fields) does not inherit from it. Let's change this, so that we can reliably distinguish fractional ideals from ideals.(I haven't found any other fractional ideals in Sage that are not already children of
Ideal_fractional
.)This patch should result in absolutely no change in behaviour, except that
isinstance(I, Ideal_fractional)
now returnsTrue
whenI
is aNumberFieldFractionalIdeal
.Component: number fields
Keywords: fractional ideals
Author: Lorenz Panny
Branch/Commit:
55cfe14
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/32380
The text was updated successfully, but these errors were encountered: