From b80989ff00667e5578f04a28a3d7ec6ff679c498 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sat, 10 Sep 2022 18:08:31 -0700 Subject: [PATCH] src/sage/combinat/sf/character.py: Use list(....support()) --- src/sage/combinat/sf/character.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage/combinat/sf/character.py b/src/sage/combinat/sf/character.py index e55f356f5d1..e5752c307eb 100644 --- a/src/sage/combinat/sf/character.py +++ b/src/sage/combinat/sf/character.py @@ -104,7 +104,7 @@ def _other_to_self(self, sexpr): """ if sexpr == 0: return self(0) - if sexpr.support() == [[]]: + if list(sexpr.support()) == [[]]: return self._from_dict({self.one_basis(): sexpr.coefficient([])}, remove_zeros=False) out = self.zero()