#15545: TypeError in matching_polynomial
----------------------------+----------------------------
Reporter: rlm | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-6.1
Component: graph theory | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
----------------------------+----------------------------
{{{#!python
sage: G = Graph(10); G
Graph on 10 vertices
sage: G.matching_polynomial()
x^10
sage: G.add_vertex((0,1))
sage: G.matching_polynomial()
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
<ipython-input-68-174221329fce> in <module>()
----> 1 G.matching_polynomial()
/Users/miller/sage-5.10/local/lib/python2.7/site-
packages/sage/graphs/matchpoly.so in
sage.graphs.matchpoly.matching_polynomial (sage/graphs/matchpoly.c:2681)()
TypeError: an integer is required
}}}
Another victim of arbitrary vertex labels...
--
Ticket URL: <http://trac.sagemath.org/ticket/15545>
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.