Skip to content

Commit 4f929a7

Browse files
committed
Fixing some details and doctests.
1 parent 352bc77 commit 4f929a7

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

src/doc/en/reference/references/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4779,9 +4779,9 @@ REFERENCES:
47794779
of polynomial maps. Proc. London Math. Soc., 68 (1994), 225-263.
47804780
47814781
.. [Motsak2006] Olekasandr Motsak. *Computation of the central elements and
4782-
centralizers of sets of elements in non-commutative polynomial
4783-
algebras*. PhD Thesis, 2006.
4784-
https://kluedo.ub.rptu.de/frontdoor/deliver/index/docId/2308/file/Thesis.pdf
4782+
centralizers of sets of elements in non-commutative polynomial
4783+
algebras*. PhD Thesis, 2006.
4784+
https://kluedo.ub.rptu.de/frontdoor/deliver/index/docId/2308/file/Thesis.pdf
47854785
47864786
.. [MP2019] \M. Montes, D. Penazzi
47874787
"Yarara and Coral v1"

src/sage/algebras/lie_algebras/poincare_birkhoff_witt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def center(self):
577577
578578
sage: g = lie_algebras.Heisenberg(GF(3), 4)
579579
sage: U = g.pbw_basis()
580-
sage: Z = U.center()
580+
sage: U.center()
581581
Center of Universal enveloping algebra of Heisenberg algebra of rank 4
582582
over Finite Field of size 3 in the Poincare-Birkhoff-Witt basis
583583
"""

src/sage/categories/lie_algebras.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def center_universal_enveloping_algebra(self, UEA=None):
356356
sage: L.center_universal_enveloping_algebra()
357357
Center of Universal enveloping algebra of Abelian Lie algebra on 3 generators (x0, x1, x2)
358358
over Rational Field in the Poincare-Birkhoff-Witt basis
359-
sage: PBW = L.PBW_basis()
359+
sage: PBW = L.pbw_basis()
360360
sage: L.center_universal_enveloping_algebra(PBW)
361361
Center of Universal enveloping algebra of Abelian Lie algebra on 3 generators (x0, x1, x2)
362362
over Rational Field in the Poincare-Birkhoff-Witt basis

src/sage/rings/polynomial/plural.pyx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ cdef class NCPolynomialRing_plural(Ring):
856856

857857
return new_NCP(self,_p)
858858

859-
def algerbra_generators(self):
859+
def algebra_generators(self):
860860
r"""
861861
Return the algebra generators of ``self``.
862862
@@ -865,9 +865,10 @@ cdef class NCPolynomialRing_plural(Ring):
865865
sage: A.<x,y,z> = FreeAlgebra(QQ, 3)
866866
sage: P = A.g_algebra(relations={y*x:-x*y}, order = 'lex')
867867
sage: P.algebra_generators()
868-
(x, y, z)
868+
Family (x, y, z)
869869
"""
870-
return self.gens()
870+
from sage.sets.family import Family
871+
return Family(self.gens())
871872

872873
def ideal(self, *gens, **kwds):
873874
"""

0 commit comments

Comments
 (0)