Skip to content

Commit

Permalink
Improve documentation of INFINITY (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
woodsp-ibm authored Nov 20, 2023
1 parent 9c95fa8 commit 1bccd2f
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 1bccd2f

Please sign in to comment.