#6396: [with patch, needs work] primes_of_degree_one is broken for relative
extensions
----------------------------+-----------------------------------------------
Reporter: davidloeffler | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.1
Component: number theory | Keywords:
Reviewer: Nick Alexander | Author: David Loeffler
Merged: |
----------------------------+-----------------------------------------------
Comment(by boothby):
Doctest failures when applied to 4.1.alpha1
{{{
sage -t -long
devel/sage/sage/rings/number_field/small_primes_of_degree_one.py
**********************************************************************
File "/space/boothby/sage-4.1.alpha1/devel/sage-
main/sage/rings/number_field/small_primes_of_degree_one.py", line 204:
sage: N.primes_of_degree_one_list(10)
Expected:
[Fractional ideal ((-1/2*b + 1/2)*a + 2),
Fractional ideal (-b*a + 1/2*b + 1/2),
Fractional ideal ((1/2*b + 3/2)*a - b),
Fractional ideal ((-1/2*b - 3/2)*a + b - 1),
Fractional ideal (-b*a - b + 1),
Fractional ideal (3*a + 1/2*b - 1/2),
Fractional ideal ((-3/2*b + 1/2)*a + 1/2*b - 1/2),
Fractional ideal ((-1/2*b - 5/2)*a - b + 1),
Fractional ideal (2*a - 3/2*b - 1/2),
Fractional ideal (3*a + 1/2*b + 5/2)]
Got:
[Fractional ideal (2*a + 1/2*b - 1/2), Fractional ideal ((-1/2*b -
1/2)*a - b), Fractional ideal (b*a + 1/2*b + 3/2), Fractional ideal
((-1/2*b - 3/2)*a + b - 1), Fractional ideal ((-b + 1)*a + b), Fractional
ideal (3*a + 1/2*b - 1/2), Fractional ideal ((1/2*b - 1/2)*a + 3/2*b -
1/2), Fractional ideal ((-1/2*b - 5/2)*a - b + 1), Fractional ideal (2*a -
3/2*b - 1/2), Fractional ideal (3*a + 1/2*b + 5/2)]
**********************************************************************
1 items had failures:
1 of 8 in __main__.example_5
***Test Failed*** 1 failures.
For whitespace errors, see the file
/space/boothby/sage-4.1.alpha1/tmp/.doctest_small_primes_of_degree_one.py
[3.2 s]
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6396#comment:5>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---