Skip to content

Commit e1c13eb

Browse files
committed
bug fix
1 parent 4b8e801 commit e1c13eb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

smac/acquisition/function/expected_improvement.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ def _compute(self, X: np.ndarray) -> np.ndarray:
367367
normal_samples = self.model.sample_functions(X, n_funcs=self.n_samples)
368368
else:
369369
normal_samples = np.random.normal(loc=m.T, scale=std.T, size=(self.n_samples, X.shape[0]))
370+
normal_samples = normal_samples.T
370371

371372
if not self._log:
372373
f_samples = normal_samples # in original (normal) space

0 commit comments

Comments
 (0)