#10899: is_chordal can raise TypeError
--------------------------------------------+-------------------------------
Reporter: dsm | Owner: jason, ncohen,
rlm
Type: defect | Status: needs_work
Priority: major | Milestone:
Component: graph theory | Keywords: sd35.5
Work_issues: add exemple from description | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
--------------------------------------------+-------------------------------
Changes (by zimmerma):
* status: needs_review => needs_work
* work_issues: => add exemple from description
Comment:
please could you add also as doctest the example from the description?
{{{
sage: Graph(1).is_chordal()
True
}}}
Note: one could wonder whether {{{0 vertices}}} should be {{{0 vertex}}}
below:
{{{
sage: Graph().lex_BFS(tree=True)
([], Digraph on 0 vertices)
}}}
Note 2: while reviewing that ticket I discovered that the syntax
{{{Graph(n)}}} was not
documented. I will open a new ticket for that.
Paul
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10899#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.