-
-
Notifications
You must be signed in to change notification settings - Fork 517
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
refactor xgcd #13628
Comments
comment:2
I want to remove |
comment:3
The patch introduces a speed penalty for integers. Therefore I left the method
Notice that there was no Also the docstring for Integers talked about some If the patchbot does not find any problems, then this is ready for review. |
Attachment: trac_13628.patch.gz identical to the previous patch — but the patchbot somehow didn't want to pick up the new patch |
This comment has been minimized.
This comment has been minimized.
comment:5
Attachment: trac_13628.2.patch.gz Apply only trac_13628.2.patch |
comment:6
Two minor things; the |
comment:8
Please rebase... |
Branch: u/niles/ticket/13628 |
Commit: |
Changed branch from u/niles/ticket/13628 to u/tscrim/ticket/13628 |
comment:11
The branch I've attached is based on New commits:
|
comment:12
Replying to @tscrim:
Got some failing doctests here; if you fix them I can give positive review to your changes. (You could also change tuples in the documentation to use parentheses, which I like too.) Are you giving positive review to the other parts of the patch?
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
Fixed. The first two just had to be changed due to the method's definition moving locations. The third was an order of operations mistake. The last one, because |
comment:17
Thanks for the fixes. Checking the documentation, I found a couple of problems in
Everything else looks fine, so I can give positive review to the reviewer patch when these (admittedly annoying) details are fixed. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Niles Johnson, Travis Scrimshaw |
comment:19
Whoops, that typo was from me. I've fixed the MATH block to use |
This comment has been minimized.
This comment has been minimized.
comment:20
Looks good. |
Currently, some classes define a _xgcd method which is called by a xgcd method of euclidean domain elements. Most elements already define xgcd directly, and I see no real use in having this method in between.
The attached patch renames all _xgcd methods to xgcd and also streamlines the use of
@
coerce_binop on them.This is similar to #13441.
Depends on #13441
Depends on #13438
Component: basic arithmetic
Author: Julian Rueth
Branch/Commit: u/tscrim/ticket/13628 @
5b3ee54
Reviewer: Niles Johnson, Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/13628
The text was updated successfully, but these errors were encountered: