Skip to content

Commit 7c8da76

Browse files
Improve documentation of INFINITY (#569) (#570)
(cherry picked from commit 1bccd2f) Co-authored-by: Steve Wood <[email protected]>
1 parent e937f2c commit 7c8da76

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

qiskit_optimization/__init__.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@
6868
:toctree: ../stubs/
6969
:nosignatures:
7070
71-
INFINITY
72-
73-
A constant for infinity.
71+
~qiskit_optimization.infinity.INFINITY
7472
7573
Submodules
7674
==========

qiskit_optimization/infinity.py

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@
1414

1515

1616
INFINITY = 1.0e20 # pylint: disable=invalid-name
17+
""" A constant for infinity. """

0 commit comments

Comments
 (0)