Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graphs -- bug in DiGraph constructor #6349

Closed
williamstein opened this issue Jun 17, 2009 · 4 comments
Closed

graphs -- bug in DiGraph constructor #6349

williamstein opened this issue Jun 17, 2009 · 4 comments

Comments

@williamstein
Copy link
Contributor

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

Component: graph theory

Author: Robert Miller

Reviewer: William Stein

Merged: sage-4.1.alpha0

Issue created by migration from https://trac.sagemath.org/ticket/6349

@rlmill
Copy link
Mannequin

rlmill mannequin commented Jun 17, 2009

Attachment: trac_6349.patch.gz

@rlmill
Copy link
Mannequin

rlmill mannequin commented Jun 17, 2009

Author: Robert Miller

@rlmill
Copy link
Mannequin

rlmill mannequin commented Jun 24, 2009

Reviewer: William Stein

@rlmill
Copy link
Mannequin

rlmill mannequin commented Jun 24, 2009

Merged: sage-4.1.alpha0

@rlmill rlmill mannequin removed the s: positive review label Jun 24, 2009
@rlmill rlmill mannequin closed this as completed Jun 24, 2009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant