#7532: "return NotImplementedError" in ring.pyx
-----------------------------+----------------------------------------------
Reporter: was | Owner: cremona
Type: defect | Status: positive_review
Priority: major | Milestone: sage-4.3.2
Component: elliptic curves | Resolution: fixed
Keywords: | Author: John Cremona
Upstream: N/A | Reviewer: Tim Dumol, John Palmieri
Merged: | Work_issues:
-----------------------------+----------------------------------------------
Comment(by mvngu):
First I applied patches at #7535 to Sage 4.3.1, then I applied
[http://trac.sagemath.org/sage_trac/attachment/ticket/7532/trac_7532-rings.patch
trac_7532-rings.patch]. Running doctest on the full Sage library results
in the following failure:
{{{
[mv...@sage sage-4.3.1]$ ./sage -t -long devel/sage-
main/sage/schemes/elliptic_curves/ell_rational_field.py
sage -t -long "devel/sage-
main/sage/schemes/elliptic_curves/ell_rational_field.py"
**********************************************************************
File "/mnt/usb1/scratch/mvngu/release/sage-4.3.1/devel/sage-
main/sage/schemes/elliptic_curves/ell_rational_field.py", line 4027:
sage: E.isogenies_prime_degree(4)
Exception raised:
Traceback (most recent call last):
File
"/mnt/usb1/scratch/mvngu/release/sage-4.3.1/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/mnt/usb1/scratch/mvngu/release/sage-4.3.1/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File
"/mnt/usb1/scratch/mvngu/release/sage-4.3.1/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_86[14]>", line 1, in <module>
E.isogenies_prime_degree(Integer(4))###line 4027:
sage: E.isogenies_prime_degree(4)
File "/mnt/usb1/scratch/mvngu/release/sage-4.3.1/local/lib/python
/site-packages/sage/schemes/elliptic_curves/ell_rational_field.py", line
4036, in isogenies_prime_degree
return isogenies_sporadic_Q(self, l)
File "/mnt/usb1/scratch/mvngu/release/sage-4.3.1/local/lib/python
/site-packages/sage/schemes/elliptic_curves/ell_curve_isogeny.py", line
4004, in isogenies_sporadic_Q
raise ValueError("%s is not prime."%l)
ValueError: 4 is not prime.
}}}
Did I correctly apply the necessary patches? Does this ticket depend on
#7535?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7532#comment:20>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.