#12630: Add representations of quivers and quiver algebras to sage
-------------------------------------+-------------------------------------
Reporter: JStarx | Owner: AlexGhitza
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.2
Component: algebra | Resolution:
Keywords: algebra, quiver, | Merged in:
module, days49 | Reviewers: Simon King
Authors: Jim Stark, Simon | Work issues: fix or delete
King, Mathieu Guay-Paquet, Aladin | "all_paths()"
Virmaux | Commit:
Report Upstream: N/A | a6b04c6c57b2362cbfa2e300a5d592ef79757fc8
Branch: | Stopgaps:
public/combinat/quivers |
Dependencies: #12412, #12413, |
#14806, #15491, #15623, #15810 |
-------------------------------------+-------------------------------------
Comment (by SimonKing):
Back to your example concerning a bug in all_paths: You define `Q =
DiGraph({i: {i+1: "a"+str(i)} for i in range(2)})`. By consequence,
`Q.edge_label(0,1)` does not return a list, but a single label. But
`all_paths` iterates over the labels of the edges between pairs of
vertices. That's the wrong thing to do, of course.
Obvious fix: Do a type test, and only iterate if it is a list or tuple.
--
Ticket URL: <http://trac.sagemath.org/ticket/12630#comment:212>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.