Skip to content

Commit

Permalink
src/sage/categories/weyl_groups.py: Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed May 27, 2024
1 parent 432d73b commit 08d68c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sage/categories/weyl_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,9 +571,10 @@ def stanley_symmetric_function(self):
- [Pon2010]_
"""
import sage.combinat.sf
from sage.rings.rational_field import QQ
m = sage.combinat.sf.sf.SymmetricFunctions(QQ).monomial()
from sage.combinat.sf.sf import SymmetricFunctions

m = SymmetricFunctions(QQ).monomial()
return m.from_polynomial_exp(self.stanley_symmetric_function_as_polynomial())

@cached_in_parent_method
Expand Down

0 comments on commit 08d68c7

Please sign in to comment.