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
mkoeppe committed Jun 9, 2024
1 parent 35657e7 commit d84e10a
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 @@ -572,9 +572,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 d84e10a

Please sign in to comment.