summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTara Fife <fi.tara@gmail.com>2016-05-28 15:02:01 -0500
committerTara Fife <fi.tara@gmail.com>2016-05-28 15:02:01 -0500
commit85a6317e97c5f889736f1677d1afb15901d23810 (patch)
tree21fb05de7977fb815ea5bf32907486cfbda059aa
parentAdded the option to get the sets `X` and `Y`, where `N` is `M/X\Y`. (diff)
Fixed errors
-rw-r--r--src/sage/matroids/matroid.pyx9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/sage/matroids/matroid.pyx b/src/sage/matroids/matroid.pyx
index 85f9a4a..13060fe 100644
--- a/src/sage/matroids/matroid.pyx
+++ b/src/sage/matroids/matroid.pyx
@@ -85,7 +85,7 @@ additional functionality (e.g. linear extensions).
- :meth:`delete() <sage.matroids.matroid.Matroid.delete>`
- :meth:`dual() <sage.matroids.matroid.Matroid.dual>`
- :meth:`truncation() <sage.matroids.matroid.Matroid.truncation>`
- - :meth:`() <sage.matroids.matroid.Matroid.has_minor>`
+ - :meth:`has_minor() <sage.matroids.matroid.Matroid.has_minor>`
- :meth:`has_line_minor() <sage.matroids.matroid.Matroid.has_line_minor>`
@@ -1107,7 +1107,8 @@ cdef class Matroid(SageObject):
INPUT:
- - ``N`` -- An instance of a ``Matroid`` object.- optional parameter `certificate` -- a boolean.
+ - ``N`` -- An instance of a ``Matroid`` object.
+ - optional parameter `certificate` -- a boolean.
OUTPUT:
@@ -1121,6 +1122,8 @@ cdef class Matroid(SageObject):
False
sage: M._has_minor(matroids.Uniform(2, 4))
True
+ sage: M._has_minor(matroids.Uniform(2, 4), certificate=True)
+ (True, (frozenset({'a', 'c'}), frozenset({'b', 'e'})))
sage: M._has_minor(matroids.Uniform(2, 4), True)
(True, (frozenset({'a', 'c'}), frozenset({'b', 'e'})))
@@ -3901,7 +3904,7 @@ cdef class Matroid(SageObject):
INPUT:
- - ``N`` -- A matroid,
+ - ``N`` -- A matroid,
- optional parameter `certificate` -- a boolean.
OUTPUT: