-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
"return NotImplementedError" in ring.pyx #7532
Comments
comment:1
grep gives:
|
comment:2
and allowing other error types we get:
|
comment:3
and also (my grep has a strange behavior..?): *./structure/element.pyx: return ArithmeticError, "Multiplicative order of 0 not defined." |
comment:4
See also #7535. |
Work Issues: Close if #7535 does |
comment:6
Given the patches at #7535, the one remaining case of this is the one in ring.pyx. If I make the change from
to
there, I get doctest failures in the files
and maybe some others in this directory. |
Changed work issues from Close if #7535 does to none |
comment:7
On my 64-bit ubuntu build of 4.3.1.rc0 with #7535 patches applied, I only get failures in ell_rational_field.py I'll fix that and try again on a 32-bit machine. |
Apply after the patches at #7535 on 4.3.1.rc0 |
comment:8
Attachment: trac_7532.patch.gz The attached patch fixes an error in ell_rational_field.py which is the only one I see in that directory after applying the patches at #7535, John (jhpalmieri), can you post the details of the errors you had on the other 3 files in that directory? |
comment:9
Hi John, I think your patch really belongs on #7535, not here, since it fixes a doctest which was broken by the patches there. My comment was, if I make another change, this time to ring.pyx (see the new patch), then I get the following doctest failures:
and
plus 45 more failures in padics.py (too many to include here), and I expect failures in sha-tate.py -- currently in the middle of testing and I have to go teach, so I can't wait for it to finish. |
Attachment: trac_7532-donotuse.patch.gz for purposes of illustration only -- causes doctest failures in schemes/elliptic_curves |
comment:10
OK, I'll move my patch from here to #7535. I'll also take a look at those other files to see if I can work out what is going on. |
Reviewer: Tim Dumol |
comment:11
Positive review: see #7535 comment:7 |
Author: John Palmieri |
comment:12
That should have been positive review. Sorry about that. |
comment:15
I have got to the bottom of (at least) the problem with monsky_washnitser.py. A quantity D is computed which is in I think I can fix this, but I am still working on it. It will need a new patch -- sorry to have muddled matters by putting onto this ticket a patch which belonged to #7535. |
Apply instead of previous one to 4.3.1.rc0 (rings.pyx fix) |
comment:16
Attachment: trac_7532-rings.patch.gz The patch trac_7532-rings.patch fixes the problem in rings.pyx and all the fallout -- I checked the entire library and it is fine. The diagnosis was exactly as above, and only a few lines needed to be changed! I am switchingg this to "needs work" and then "needs review", hoping that it can get in on the back of #7535 (just this once!) |
Changed reviewer from Tim Dumol to Tim Dumol, John Palmieri |
This comment has been minimized.
This comment has been minimized.
comment:18
Looks good, all tests pass. Thanks for the fix, John. |
Changed author from John Palmieri to John Cremona |
comment:19
Replying to @jhpalmieri:
My pleasure. I hope the release manager can see that trac_7532.patch only needs to be applied once, not both here and at #7535! I only just discovered the joys of "sage -pt n" which makes testing the whole library a breeze: my research machine has 16 processors of which only a few are usually in use, so I put n=10 and a full test only takes 6 minutes and the -long test I did here took only 701s! |
comment:20
First I applied patches at #7535 to Sage 4.3.1, then I applied trac_7532-rings.patch. Running doctest on the full Sage library results in the following failure:
Did I correctly apply the necessary patches? Does this ticket depend on #7535? |
comment:21
Please apply trac_7532.patch as well. Does that help? (See the "addendum" in the ticket description.) |
Merged: sage-4.3.2.alpha0 |
comment:22
Thank you for pointing out the addendum, jhpalmieri. Merged in this order: |
Addendum: apply the patches
trac_7532.patch
andtrac_7532-rings.patch
. Depends on #7535.Component: elliptic curves
Author: John Cremona
Reviewer: Tim Dumol, John Palmieri
Merged: sage-4.3.2.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/7532
The text was updated successfully, but these errors were encountered: