Skip to content

Commit 7fd192a

Browse files
committed
fix one more typo
1 parent d5c8662 commit 7fd192a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/sage/algebras/quantum_groups/ace_quantum_onsager.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@
2626
from sage.sets.family import Family
2727
from sage.rings.integer_ring import ZZ
2828

29+
2930
class ACEQuantumOnsagerAlgebra(CombinatorialFreeModule):
3031
r"""
3132
The alternating central extension of the `q`-Onsager algebra.
3233
3334
The *alternating central extension* `\mathcal{A}_q` of the `q`-Onsager
34-
alegbra `O_q` is a current algebra of `O_q` introduced by Baseilhac
35+
algebra `O_q` is a current algebra of `O_q` introduced by Baseilhac
3536
and Koizumi [BK2005]_. A presentation was given by Baseilhac
3637
and Shigechi [BS2010]_, which was then reformulated in terms of currents
3738
in [Ter2021]_ and then used to prove that the generators form a PBW basis.
@@ -163,7 +164,7 @@ def _monomial_key(self, x):
163164
164165
sage: A = algebras.AlternatingCentralExtensionQuantumOnsager(QQ)
165166
sage: AG = A.algebra_generators()
166-
sage: AG[1,1] * AG[1,0] * AG[0,1] # indirect doctest
167+
sage: AG[1,1] * AG[1,0] * AG[0,1] # indirect doctest
167168
G[1]*W[0]*W[1] + (q/(q^2+1))*G[1]^2 + (-q/(q^2+1))*G[1]*Gt[1]
168169
+ ((-q^8+2*q^4-1)/q^5)*W[-1]*W[1] + ((-q^8+2*q^4-1)/q^5)*W[0]^2
169170
+ ((q^8-2*q^4+1)/q^5)*W[0]*W[2] + ((q^8-2*q^4+1)/q^5)*W[1]^2
@@ -276,6 +277,7 @@ def algebra_generators(self):
276277
"""
277278
G = self._indices.gens()
278279
q = self._q
280+
279281
def monomial_map(x):
280282
if x[0] != 1 and x[1] == 0:
281283
return self.term(self.one_basis(), -(q-~q)*(q+~q)**2)
@@ -658,7 +660,7 @@ def sigma(self):
658660
sage: A = algebras.AlternatingCentralExtensionQuantumOnsager(QQ)
659661
sage: G = A.algebra_generators()
660662
sage: x = A.an_element()^2
661-
sage: A.sigma(A.sigma(x)) == x
663+
sage: A.sigma(A.sigma(x)) == x
662664
True
663665
sage: A.sigma(G[1,-1] * G[1,1]) == A.sigma(G[1,-1]) * A.sigma(G[1,1])
664666
True
@@ -677,7 +679,7 @@ def dagger(self):
677679
sage: A = algebras.AlternatingCentralExtensionQuantumOnsager(QQ)
678680
sage: G = A.algebra_generators()
679681
sage: x = A.an_element()^2
680-
sage: A.dagger(A.dagger(x)) == x
682+
sage: A.dagger(A.dagger(x)) == x
681683
True
682684
sage: A.dagger(G[1,-1] * G[1,1]) == A.dagger(G[1,1]) * A.dagger(G[1,-1])
683685
True
@@ -687,4 +689,3 @@ def dagger(self):
687689
True
688690
"""
689691
return self.module_morphism(self._dagger_on_basis, codomain=self)
690-

0 commit comments

Comments
 (0)