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

Commit 50773ff

Browse files
committed
fix typo in docstring of variable_upper/lower_bound
1 parent 1ab3f86 commit 50773ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/numerical/backends/hybrid_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ def variable_upper_bound(self, index, value = False):
925925
- ``index`` (integer) -- the variable's id
926926
927927
- ``value`` -- real value, or ``None`` to mean that the
928-
variable has not upper bound. When set to ``None``
928+
variable has not upper bound. When set to ``False``
929929
(default), the method returns the current value.
930930
931931
EXAMPLES::
@@ -962,7 +962,7 @@ def variable_lower_bound(self, index, value = False):
962962
- ``index`` (integer) -- the variable's id
963963
964964
- ``value`` -- real value, or ``None`` to mean that the
965-
variable has no lower bound. When set to ``None``
965+
variable has no lower bound. When set to ``False``
966966
(default), the method returns the current value.
967967
968968
EXAMPLES::

0 commit comments

Comments
 (0)