From 08d68c780f4d72fd338c9ad644278320af2dd89b Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sun, 26 May 2024 21:01:33 -0700 Subject: [PATCH] src/sage/categories/weyl_groups.py: Fix import --- src/sage/categories/weyl_groups.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sage/categories/weyl_groups.py b/src/sage/categories/weyl_groups.py index 9d5d6f28daa..451122b4846 100644 --- a/src/sage/categories/weyl_groups.py +++ b/src/sage/categories/weyl_groups.py @@ -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