We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cafc77e commit 39fae00Copy full SHA for 39fae00
pyoptgra/optgra.py
@@ -88,7 +88,7 @@ def _isfinite_bounds(bounds: List[float]) -> List[bool]:
88
# define a maximum allowed bound value to consider as finite
89
# We need this to avoid infinities in OPTGRA that are caused by very large bounds which are
90
# de-factor meant infinite for OPTGRA
91
- max_allowed_bound = 1e300 # the largest representable REAL*8 is ~1.798 × 10^308
+ max_allowed_bound = 1e295 # the largest representable REAL*8 is ~1.798 × 10^308
92
return [np.isfinite(b) and abs(b) < max_allowed_bound for b in bounds]
93
94
0 commit comments