#12181: random_DAG does not terminate on it's default inputs
-----------------------------------------------------+----------------------
Reporter: mderickx | Owner: tbd
Type: defect | Status:
needs_work
Priority: major | Milestone: sage-5.3
Component: graph theory | Resolution:
Keywords: random digraph | Work issues:
Report Upstream: N/A | Reviewers: David
Coudert
Authors: Douglas McNeil, Frédéric Chapoton | Merged in:
Dependencies: | Stopgaps:
-----------------------------------------------------+----------------------
Changes (by {'newvalue': u'Douglas McNeil, Fr\xe9d\xe9ric Chapoton',
'oldvalue': u'dsm, Fr\xe9d\xe9ric Chapoton'}):
* status: positive_review => needs_work
* author: dsm, Frédéric Chapoton => Douglas McNeil, Frédéric Chapoton
Comment:
I strongly suggest against using `assert` statements for error checking
(bad input should throw `ValueError`, not `AssertionError`). Also, add
doctests for this bad input.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12181#comment:23>
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.