Skip to content

Commit

Permalink
Changes suggested by reviewer
Browse files Browse the repository at this point in the history
  • Loading branch information
gmou3 committed Dec 29, 2023
1 parent 55cc69b commit e34645b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/sage/matroids/matroid.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -5964,14 +5964,13 @@ cdef class Matroid(SageObject):
OUTPUT:
a Boolean
boolean
EXAMPLES::
sage: M = matroids.named_matroids.Vamos()
sage: M.is_paving()
True
"""
for C in self.circuits():
if len(C) < self.rank():
Expand All @@ -5987,7 +5986,7 @@ cdef class Matroid(SageObject):
OUTPUT:
a Boolean
boolean
EXAMPLES::
Expand All @@ -5997,7 +5996,6 @@ cdef class Matroid(SageObject):
sage: M = matroids.named_matroids.Fano()
sage: M.is_sparse_paving()
True
"""
if not self.is_paving():
return False
Expand Down Expand Up @@ -8000,8 +7998,7 @@ cdef class Matroid(SageObject):
REFERENCES:
[Oxl2011], p. 189.
[Oxl2011]_, p. 189.
"""
from sage.topology.simplicial_complex import SimplicialComplex
return SimplicialComplex(self.bases()).automorphism_group()
Expand Down

0 comments on commit e34645b

Please sign in to comment.