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

Commit a6b7d5c

Browse files
author
Matthias Koeppe
committed
src/sage/numerical/interactive_simplex_method.py: Fix doctest for changed repr
1 parent 6fd516d commit a6b7d5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/numerical/interactive_simplex_method.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2038,7 +2038,7 @@ def random_element(m, n, bound=5, special_probability=0.2,
20382038
EXAMPLES::
20392039
20402040
sage: InteractiveLPProblemStandardForm.random_element(3, 4)
2041-
LP problem (use typeset mode to see details)
2041+
LP problem (use 'view(...)' or '%display typeset' for details)
20422042
"""
20432043
if not kwds.pop('is_primal', True):
20442044
raise NotImplementedError('only random primal problems are implemented')
@@ -3930,7 +3930,7 @@ def random_element(m, n, bound=5, special_probability=0.2):
39303930
sage: from sage.numerical.interactive_simplex_method \
39313931
....: import random_dictionary
39323932
sage: random_dictionary(3, 4) # indirect doctest
3933-
LP problem dictionary (use typeset mode to see details)
3933+
LP problem dictionary (use 'view(...)' or '%display typeset' for details)
39343934
"""
39353935
A = random_matrix(ZZ, m, n, x=-bound, y=bound).change_ring(QQ)
39363936
if special_probability < random():

0 commit comments

Comments
 (0)