#6349: graphs -- bug in DiGraph constructor
--------------------------+-------------------------------------------------
Reporter: was | Owner: rlm
Type: defect | Status: new
Priority: minor | Milestone: sage-4.0.3
Component: graph theory | Keywords:
Reviewer: | Author:
Merged: |
--------------------------+-------------------------------------------------
{{{
sage: DiGraph(matrix(2,[0,0,-1,1]), format="incidence_matrix")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Users/wstein/.sage/sage_notebook/worksheets/admin/187/code/29.py", line
7, in <module>
DiGraph(matrix(_sage_const_2 ,[_sage_const_0 ,_sage_const_0
,-_sage_const_1 ,_sage_const_1 ]), format="incidence_matrix")
File "/Users/wstein/s/local/lib/python2.5/site-
packages/Jinja-1.2-py2.5-macosx-10.3-i386.egg/", line 1, in <module>
File "/Users/wstein/s/local/lib/python2.5/site-
packages/sage/graphs/graph.py", line 9894, in __init__
raise ValueError(msg + msg2)
TypeError: cannot concatenate 'str' and 'exceptions.AssertionError'
objects
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6349>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---