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

Commit

Permalink
src/sage/combinat/sf/character.py: Use list(....support())
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Sep 11, 2022
1 parent a417411 commit b80989f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/combinat/sf/character.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b80989f

Please sign in to comment.