#4249: [with patch, positive review, needs doctest fixes] Inconsistency in
number
field integral bases
---------------------------+------------------------------------------------
Reporter: cremona | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-3.2.1
Component: number theory | Resolution:
Keywords: number fields |
---------------------------+------------------------------------------------
Changes (by mabshoff):
* summary: [with patch, with positive review] Inconsistency in number
field integral bases => [with patch, positive
review, needs doctest fixes] Inconsistency in
number field integral bases
Comment:
There are some slight doctest failures to fix:
{{{
sage -t -long devel/sage/sage/rings/number_field/number_field.py
**********************************************************************
File "/scratch/mabshoff/release-
cycle/sage-3.2.rc1/devel/sage/sage/rings/number_field/number_field.py",
line 2653:
sage: F.reduced_basis(prec=96)
Expected:
[1, alpha, alpha^2 - 15*alpha, alpha^3 - 16*alpha^2 + 469*alpha +
267109]
Got:
[1, alpha, alpha^3 - 2*alpha^2 + 15*alpha, 16*alpha^3 - 31*alpha^2 +
469*alpha + 267109]
**********************************************************************
1 items had failures:
1 of 9 in __main__.example_73
***Test Failed*** 1 failures.
For whitespace errors, see the file /scratch/mabshoff/release-
cycle/sage-3.2.rc1/tmp/.doctest_number_field.py
*** Warning: large Minkowski bound: certification will be VERY long.
*** Warning: large Minkowski bound: certification will be VERY long.
[29.4 s]
exit code: 1024
----------------------------------------------------------------------
The following tests failed:
sage -t -long devel/sage/sage/rings/number_field/number_field.py
Total time for all tests: 29.4 seconds
sage -t -long devel/doc/tut/tut.tex
**********************************************************************
File "/scratch/mabshoff/release-cycle/sage-3.2.rc1/devel/doc/tut/tut.tex",
line 2179:
: K.integral_basis()
Expected:
[1, a, 1/2*a^2 + 1/2*a]
Got:
[1, 1/2*a^2 + 1/2*a, a^2]
**********************************************************************
1 items had failures:
1 of 11 in __main__.example_99
***Test Failed*** 1 failures.
For whitespace errors, see the file /scratch/mabshoff/release-
cycle/sage-3.2.rc1/tmp/.doctest_tut.py
[25.2 s]
exit code: 1024
----------------------------------------------------------------------
The following tests failed:
sage -t -long devel/doc/tut/tut.tex
Total time for all tests: 25.2 seconds
sage -t -long devel/doc/const/const.tex
**********************************************************************
File "/scratch/mabshoff/release-
cycle/sage-3.2.rc1/devel/doc/const/const.tex", line 3450:
: K.integral_basis()
Expected:
[1, a, 1/2*a^2 + 1/2*a]
Got:
[1, 1/2*a^2 + 1/2*a, a^2]
**********************************************************************
1 items had failures:
1 of 5 in __main__.example_123
***Test Failed*** 1 failures.
For whitespace errors, see the file /scratch/mabshoff/release-
cycle/sage-3.2.rc1/tmp/.doctest_const.py
[31.0 s]
exit code: 1024
----------------------------------------------------------------------
The following tests failed:
sage -t -long devel/doc/const/const.tex
Total time for all tests: 31.0 seconds
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4249#comment:21>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---