-
-
Notifications
You must be signed in to change notification settings - Fork 514
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
Add inverse_of_unit() for padics #13539
Comments
This comment has been minimized.
This comment has been minimized.
comment:3
I'm happy with the changes to |
Dependencies: #13600 |
comment:4
You're right. I didn't understand these changes myself anymore now. I tried to put them into a separate ticket and turned them into something that is hopefully more readable #13600. |
comment:5
Cool. Once you update the patch here and it passes doctests I can give it a positive review |
comment:6
I removed the pieces that are now in #13600. I also added a copyright notice since it was missing (I took the years from the repo history). |
comment:7
Your apply failed against 5.4.rc1 according to patchbot. I'm a bit confused though, since I'm succeeding.... If you don't know what's going on I'll take a look later. |
Attachment: trac_13539.patch.gz |
comment:8
Okay, patchbot is succeeding now, so I'll give this a positive review. |
Reviewer: David Roe |
Merged: sage-5.8.beta2 |
Currently, the padics lack an
inverse_of_unit()
method:The drawback with simply using
~
is that it puts the result in the fraction field and it can be annoying to always convert it back to the original ring when implementing general algorithms for all padics rings and fields:The attached patch implements a method
inverse_of_unit()
and fixes a conversion error that came up when testing it.Depends on #13600
Component: padics
Author: Julian Rueth
Reviewer: David Roe
Merged: sage-5.8.beta2
Issue created by migration from https://trac.sagemath.org/ticket/13539
The text was updated successfully, but these errors were encountered: