Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Doing a little more caching for speed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Scrimshaw committed Nov 1, 2015
1 parent 90a3fa0 commit 9a305aa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sage/algebras/orlik_solomon.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,11 @@ def product_on_basis(self, a, b):

return r

# reduce a broken circuit to a sum of terms with lower term order
@cached_method
def _reduce_broken_circuit(self, bc):
"""
Reduce the broken circuit ``bc`` in ``self``.
Reduce the broken circuit ``bc`` to a sum of terms with
lower term order in ``self``.
EXAMPLES::
Expand Down

0 comments on commit 9a305aa

Please sign in to comment.