Skip to content

Commit

Permalink
Improve documentation of INFINITY (#569)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1bccd2f)
  • Loading branch information
woodsp-ibm authored and mergify[bot] committed Nov 20, 2023
1 parent e937f2c commit 3905044
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions qiskit_optimization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@
:toctree: ../stubs/
:nosignatures:
INFINITY
A constant for infinity.
~qiskit_optimization.infinity.INFINITY
Submodules
==========
Expand Down
1 change: 1 addition & 0 deletions qiskit_optimization/infinity.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@


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

0 comments on commit 3905044

Please sign in to comment.