#17852: Cleanup in rings.arith and rings.integer
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.6
Component: basic arithmetic | Resolution:
Keywords: | Merged in:
Authors: Vincent Delecroix | Reviewers: Jeroen Demeyer
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vdelecroix/17852 | e24a437155ef6a95b6e413fd5717985fc05a48a1
Dependencies: #16878 | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
On 32-bit:
{{{
sage -t --long src/sage/combinat/baxter_permutations.py
**********************************************************************
File "src/sage/combinat/baxter_permutations.py", line 232, in
sage.combinat.baxter_permutations.BaxterPermutations_size.cardinality
Failed example:
[BaxterPermutations(n).cardinality() for n in xrange(13)]
Expected:
[1, 1, 2, 6, 22, 92, 422, 2074, 10754, 58202, 326240, 1882960,
11140560]
Got:
[1, 1, 2, 6, 22, 92, 422, 2074, 10754, 58202, 326240, 1882960,
11140560L]
**********************************************************************
1 item had failures:
1 of 2 in
sage.combinat.baxter_permutations.BaxterPermutations_size.cardinality
[31 tests, 1 failure, 1.41 s]
}}}
Really, cardinality should always return Sage integers.
--
Ticket URL: <http://trac.sagemath.org/ticket/17852#comment:90>
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.