Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrenn committed Aug 22, 2016
1 parent 69289fe commit 71aef7f
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/sage/combinat/k_regular_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@
[AS2003]_.
.. WARNING::
As this code is experimental, warnings are thrown when a
`k`-regular sequence space is created for the first time in a
session (see :class:`sage.misc.superseded.experimental`).
TESTS::
sage: Seq2 = kRegularSequenceSpace(2, ZZ)
doctest:...: FutureWarning: This class/method/function is
marked as experimental. It, its functionality or its interface
might change without a formal deprecation.
See http://trac.sagemath.org/21202 for details.
Examples
========
Expand Down Expand Up @@ -199,7 +214,7 @@ def __getitem__(self, n):
sage: W = Seq2.indices()
sage: M0 = Matrix([[1, 0], [0, 1]])
sage: M1 = Matrix([[0, -1], [1, 2]])
sage: S = Seq2((M0, M1))
sage: S = Seq2((M0, M1), [0, 1], [1, 1])
sage: S._mu_of_word_(W(0.digits(2))) == M0
True
sage: S._mu_of_word_(W(1.digits(2))) == M1
Expand Down

0 comments on commit 71aef7f

Please sign in to comment.