-
-
Notifications
You must be signed in to change notification settings - Fork 673
Closed
Description
In combinat/root_system.py, the fundamental weights for the various root systems are entered by hand. For G2, the fundamental weights were the negatives of what they should be.
diff -r 80b506b8e07c sage/combinat/root_system.py
--- a/sage/combinat/root_system.py Tue Apr 01 19:18:55 2008 -0700
+++ b/sage/combinat/root_system.py Sat Apr 05 08:40:46 2008 -0700
@@ -788,11 +788,11 @@ class AmbientLattice_g(AmbientLattice_ge
"""
EXAMPLES:
sage: CartanType(['G',2]).root_system().ambient_lattice().fundamental_weights()
- [(-1, 0, 1), (-2, 1, 1)]
+ [(1, 0, -1), (2, -1, -1)]
"""
return [ c0*self._term(0)+c1*self._term(1)+c2*self._term(2) \
for [c0,c1,c2] in
- [[-1,0,1],[-2,1,1]]]
+ [[1,0,-1],[2,-1,-1]]]
def WeylDim(type, coeffs):
CC: @sagetrac-sage-combinat
Component: combinatorics
Issue created by migration from https://trac.sagemath.org/ticket/2808