summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTara Fife <fi.tara@gmail.com>2016-06-05 07:44:48 -0500
committerTara Fife <fi.tara@gmail.com>2016-06-05 07:44:48 -0500
commit0b86a6bec61f3121d872aee6e7decbf1dae42d8d (patch)
treec2d36bf6c31bf2b7325bab1a848bf14bfd5d9fcb
parentEddited errors in documentation (diff)
Eddited documentation
-rw-r--r--src/sage/matroids/matroid.pyx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sage/matroids/matroid.pyx b/src/sage/matroids/matroid.pyx
index 3d8efb7..afaa053 100644
--- a/src/sage/matroids/matroid.pyx
+++ b/src/sage/matroids/matroid.pyx
@@ -1109,13 +1109,13 @@ cdef class Matroid(SageObject):
INPUT:
- ``N`` -- An instance of a ``Matroid`` object,
- - ``certificate`` -- Boolean (Defalt: ``False``) If true, returns frozensets
- ``X`` and ``Y`` where ``N`` is isomorphic to ``self.minor(X, Y)``.
+ - ``certificate`` -- Boolean (Defalt: ``False``) If ``True``, returns
+ ``True, (X, Y, dic) where ``N`` is isomorphic to ``self.minor(X, Y)``,
+ and ``dic`` is an isomorphism between ``N`` and ``self.minor(X, Y)``.
OUTPUT:
- Boolean,
- and (if ``certificate`` is ``True``,) frozensets ``X``, ``Y``, where ``N`` is isomorphic to ``self.minor(X, Y)``.
+ boolean or tuple.
EXAMPLES::
@@ -1148,7 +1148,7 @@ cdef class Matroid(SageObject):
if X.isdisjoint(Y):
if N._is_isomorphic(self._minor(contractions=X, deletions=Y)):
if certificate:
- return True, X, Y
+ return True, (X, Y, N._isomorphism(self._minor(contractions=X, deletions=Y)))
return True
if certificate:
return False, None