#16894: bug in is_square over number fields
-------------------------------------+-------------------------------------
Reporter: cremona | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.4
Component: packages: | Resolution:
standard | Merged in:
Keywords: | Reviewers:
Authors: Jeroen Demeyer | Work issues:
Report Upstream: Fixed upstream, | Commit:
but not in a stable release. | dbe9fb5ede2561f7054e5d3283d2af66c022a8eb
Branch: | Stopgaps:
u/jdemeyer/ticket/16894 |
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by jdemeyer):
* commit: => dbe9fb5ede2561f7054e5d3283d2af66c022a8eb
Comment:
This patch fixes the bug, but it causes another doctest failure...
{{{
sage -t --long src/sage/rings/number_field/number_field.py
**********************************************************************
File "src/sage/rings/number_field/number_field.py", line 5172, in
sage.rings.number_field.number_field.NumberField_generic.?
Failed example:
Z = K.zeta_function()
Exception raised:
Traceback (most recent call last):
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 480, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 843, in compile_and_execute
exec compiled in globs
File "<doctest
sage.rings.number_field.number_field.NumberField_generic.?[1]>", line 1,
in <module>
Z = K.zeta_function()
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/rings/number_field/number_field.py", line 5198, in
zeta_function
max_asymp_coeffs=max_asymp_coeffs)
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/lfunctions/dokchitser.py", line 342, in init_coeffs
self._gp_eval(pari_precode)
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/lfunctions/dokchitser.py", line 243, in _gp_eval
raise RuntimeError("Unable to create L-series, due to precision or
other limits in PARI.")
RuntimeError: Unable to create L-series, due to precision or other
limits in PARI.
**********************************************************************
}}}
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=dbe9fb5ede2561f7054e5d3283d2af66c022a8eb
dbe9fb5]||{{{Trac #16894: fix PARI nffactor() bug}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/16894#comment:4>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.