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

Commit

Permalink
get_solver: Add another doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Apr 5, 2016
1 parent 3a26453 commit b7f1ed8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sage/numerical/backends/generic_backend.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1308,6 +1308,10 @@ cpdef GenericBackend get_solver(constraint_generation = False, solver = None, ba
<sage.numerical.backends.interactivelp_backend.InteractiveLPBackend object at ...>
sage: p.base_ring()
Number Field in sqrt5 with defining polynomial x^2 - 5
sage: p = get_solver('InteractiveLP', base_ring=QQ)
<sage.numerical.backends.interactivelp_backend.InteractiveLPBackend object at ...>
sage: p.base_ring()
Rational Field
"""
if solver is None:

Expand Down

0 comments on commit b7f1ed8

Please sign in to comment.