Skip to content

Commit 483e19a

Browse files
committed
Reviewer comments by Frederic.
1 parent 4cc25f1 commit 483e19a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4062,7 +4062,7 @@ REFERENCES:
40624062
40634063
.. [Kuniba2022] Atsuo Kuniba,
40644064
*Quantum Groups in Three-Dimensional Integrability*.
4065-
Theoretical an Mathematical Phyiscs, Springer. 2022.
4065+
Theoretical and Mathematical Physics, Springer. 2022.
40664066
:doi:`10.1007/978-981-19-3262-5`.
40674067
40684068
.. [Kur2008] Chris Kurth, "K Farey package for Sage",

src/sage/algebras/quantum_oscillator.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def some_elements(self) -> tuple:
261261

262262
def fock_space_representation(self):
263263
r"""
264-
Return the Fock sapce representation of ``self``.
264+
Return the Fock space representation of ``self``.
265265
266266
.. SEEALSO::
267267
@@ -481,7 +481,7 @@ class FockSpaceRepresentation(CombinatorialFreeModule):
481481
The unique Fock space representation of the
482482
:class:`~sage.algebras.quantum_oscillator.QuantumOscillatorAlgebra`.
483483
"""
484-
def __init__(self, O):
484+
def __init__(self, oscillator_algebra):
485485
r"""
486486
Initialize ``self``.
487487
@@ -491,9 +491,9 @@ def __init__(self, O):
491491
sage: F = O.fock_space_representation()
492492
sage: TestSuite(F).run()
493493
"""
494-
self._O = O
494+
self._O = oscillator_algebra
495495
ind = NonNegativeIntegers()
496-
CombinatorialFreeModule.__init__(self, O.base_ring(), ind, prefix='', bracket=['|', '>'],
496+
CombinatorialFreeModule.__init__(self, oscillator_algebra.base_ring(), ind, prefix='', bracket=['|', '>'],
497497
latex_bracket=[r'\lvert', r'\rangle'])
498498

499499
def _test_representation(self, **options):

0 commit comments

Comments
 (0)