#8331: BipartiteGraph constructor does not create partitions for dict inputs
----------------------------+-----------------------------------------------
Reporter: rhinton | Owner: rlm
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.4
Component: graph theory | Keywords: BipartiteGraph
Author: Ryan Hinton | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
The BipartiteGraph constructor does not create partitions for dict inputs.
{{{
sage: t1 = BipartiteGraph({'a': ['b'], 'b':['c']})
sage: t1.left
...
AttributeError: 'BipartiteGraph' object has no attribute 'left'
}}}
The problem comes in the constructor in the "other inputs" case. A Graph
object is created, but not all the control paths find a bipartition.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8331>
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.