diff --git a/qiskit_optimization/__init__.py b/qiskit_optimization/__init__.py index f6ae8e1c7..b76a42f4f 100644 --- a/qiskit_optimization/__init__.py +++ b/qiskit_optimization/__init__.py @@ -68,9 +68,7 @@ :toctree: ../stubs/ :nosignatures: - INFINITY - -A constant for infinity. + ~qiskit_optimization.infinity.INFINITY Submodules ========== diff --git a/qiskit_optimization/infinity.py b/qiskit_optimization/infinity.py index 16f3b3e27..95b6e8aad 100644 --- a/qiskit_optimization/infinity.py +++ b/qiskit_optimization/infinity.py @@ -14,3 +14,4 @@ INFINITY = 1.0e20 # pylint: disable=invalid-name +""" A constant for infinity. """