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

Commit

Permalink
Reordering skew_schur for speed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Scrimshaw committed Sep 15, 2015
1 parent fee5688 commit 14e6047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/combinat/sf/sfa.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,11 +865,11 @@ def skew_schur(self, x):
...
ValueError: not a valid skew partition
"""
s = self.realization_of().schur()
from sage.combinat.skew_partition import SkewPartitions
import sage.libs.lrcalc.lrcalc as lrcalc
if x not in SkewPartitions():
raise ValueError("not a valid skew partition")
import sage.libs.lrcalc.lrcalc as lrcalc
s = self.realization_of().schur()
skewschur = lrcalc.skew(x[0], x[1])
return self(s._from_dict(skewschur))

Expand Down

0 comments on commit 14e6047

Please sign in to comment.