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

Commit

Permalink
Caching weight_lattice_realization.
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Scrimshaw committed Jan 20, 2019
1 parent abbbbee commit 31c666c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sage/categories/crystals.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ def an_element(self):
"""
return self.first()

@cached_method
def weight_lattice_realization(self):
"""
Return the weight lattice realization used to express weights
Expand Down

0 comments on commit 31c666c

Please sign in to comment.