bayesian-optimization 2.0.3__tar.gz → 2.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: bayesian-optimization
3
- Version: 2.0.3
3
+ Version: 2.0.4
4
4
  Summary: Bayesian Optimization package
5
5
  License: MIT
6
6
  Author: Fernando Nogueira
@@ -300,7 +300,7 @@ class AcquisitionFunction(abc.ABC):
300
300
  continue
301
301
 
302
302
  # Store it if better than previous minimum(maximum).
303
- if min_acq is None or np.squeeze(res.fun) >= min_acq:
303
+ if min_acq is None or np.squeeze(res.fun) <= min_acq:
304
304
  x_min = res.x
305
305
  min_acq = np.squeeze(res.fun)
306
306
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "bayesian-optimization"
3
- version = "2.0.3"
3
+ version = "2.0.4"
4
4
  description = "Bayesian Optimization package"
5
5
  authors = ["Fernando Nogueira"]
6
6
  license = "MIT"