Skip to content

Commit

Permalink
Edited matroid() method
Browse files Browse the repository at this point in the history
  • Loading branch information
25shriya committed Nov 5, 2024
1 parent 79d3371 commit eb20165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/sage/matroids/chow_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ def matroid(self):
U(3, 6): Matroid of rank 3 on 6 elements with circuit-closures
{3: {{0, 1, 2, 3, 4, 5}}}
"""
M = self._matroid
return M
return self._matroid

def _coerce_map_from_base_ring(self):
r"""
Expand Down
3 changes: 1 addition & 2 deletions src/sage/matroids/chow_ring_ideal.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ def matroid(self):
U(3, 6): Matroid of rank 3 on 6 elements with circuit-closures
{3: {{0, 1, 2, 3, 4, 5}}}
"""
M = self._matroid
return M
return self._matroid

def _lattice_flats(self):
r"""
Expand Down

0 comments on commit eb20165

Please sign in to comment.