#6538: bug in Partitions
--------------------------------------+-------------------------------------
Reporter: jhpalmieri | Owner: mhansen
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.2
Component: combinatorics | Resolution:
Keywords: partitions, days38 | Work issues:
Report Upstream: N/A | Reviewers: Benjamin Jones
Authors: Travis Scrimshaw | Merged in:
Dependencies: #12925 | Stopgaps:
--------------------------------------+-------------------------------------
Changes (by jdemeyer):
* status: positive_review => needs_work
* dependencies: => #12925
Comment:
It fails a doctest:
{{{
sage -t -force_lib devel/sage/sage/combinat/integer_vector.py
**********************************************************************
File "/release/merger/sage-5.2.beta1/devel/sage-
main/sage/combinat/integer_vector.py", line 988:
sage: IntegerVectors(3, 0, min_part=1).list()
Expected:
[]
Got:
[[3]]
**********************************************************************
}}}
It also fails a test added by #12925:
{{{
sage -t -force_lib devel/sage/sage/combinat/tutorial.py
**********************************************************************
File "/release/merger/sage-5.2.beta1/devel/sage-
main/sage/combinat/tutorial.py", line 1635:
sage: Partitions(2, max_slope=-1, length=2).list()
Expected:
[[1, 1]]
Got:
[]
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6538#comment:7>
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.