We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc99dc8 commit 5c35075Copy full SHA for 5c35075
src/sage/categories/loop_crystals.py
@@ -773,16 +773,17 @@ def classically_highest_weight_vectors(self):
773
except StopIteration:
774
it.pop()
775
if path:
776
- path.pop(0)
+ path.pop()
777
continue
778
779
- b = self.element_class(self, [x] + path)
+ path.append(x)
780
+ b = self.element_class(self, reversed(path))
781
if not b.is_highest_weight(index_set=I0):
782
783
- path.insert(0, x)
784
if len(path) == n:
785
ret.append(b)
786
787
else:
788
it.append(iter(self.crystals[-len(path) - 1]))
789
return tuple(ret)
0 commit comments