#15639: Random failure in integer_vector
-----------------------------+----------------------------
Reporter: vbraun | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.1
Component: combinatorics | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------
Got this once on skynet/eno:
{{{
sage -t --long src/sage/combinat/integer_vector.py
**********************************************************************
File "src/sage/combinat/integer_vector.py", line 347, in
sage.combinat.integer_vector._slider01.range.gale_ryser_theorem
Failed example:
for algorithm in ["gale", "ryser"]: # long
time
for i in range(50): #
long time
if not test_algorithm(algorithm, 3, 10): #
long time
print "Something wrong with algorithm ", algorithm #
long time
break #
long time
Expected nothing
Got:
Something wrong with algorithm ryser
}}}
Likely due to #15609.
Common Python pitfalls are that the sort order of sets / dict entries can
be dependent on memory locations.
--
Ticket URL: <http://trac.sagemath.org/ticket/15639>
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/groups/opt_out.