#18791: Matroid k-connectivity
-------------------------------------+-------------------------------------
Reporter: chaoxu | Owner:
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-6.8
Component: matroid theory | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: u/chaoxu/k | Commit:
-connectivity-intersection | adac5913ad0f8b4b21bcd1a231d3f26da5913a5d
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by Rudi):
Thanks Chao.
I'm getting a bug now:
{{{
sage: M= matroids.named_matroids.ExtendedBinaryGolayCode()
sage: M.is_kconnected(5)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_6.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8
-*-\\n" +
_support_.preparse_worksheet_cell(base64.b64decode("TS5pc19rY29ubmVjdGVkKDUp"),globals())+"\\n");
execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File
"/private/var/folders/s7/fnz1zdzd12d3v1q0fns6sdww0000gn/T/tmpyBf3z_/___code___.py",
line 3, in <module>
exec compile(u'M.is_kconnected(_sage_const_5 )
File "", line 1, in <module>
File "sage/matroids/matroid.pyx", line 4782, in
sage.matroids.matroid.Matroid.is_kconnected
(/Users/rudi/Documents/Development/sage-6.7/src/build/cythonized/sage/matroids/matroid.c:38299)
File "sage/matroids/matroid.pyx", line 4879, in
sage.matroids.matroid.Matroid.is_kconnected
(/Users/rudi/Documents/Development/sage-6.7/src/build/cythonized/sage/matroids/matroid.c:37668)
ValueError: r must be non-negative
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/18791#comment:8>
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/d/optout.