Skip to content

Commit

Permalink
fix the issue SheffieldML#351
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyEvans authored and LilyEvans committed Nov 17, 2020
1 parent 0be0508 commit f184bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPyOpt/methods/bayesian_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def __init__(self, f, domain = None, constraints = None, cost_withGradients = No
self.num_cores = num_cores
if f is not None:
self.f = self._sign(f)
self.objective = SingleObjective(self.f, self.batch_size,self.objective_name)
self.objective = SingleObjective(self.f, self.num_cores,self.objective_name)
else:
self.f = None
self.objective = None
Expand Down

0 comments on commit f184bad

Please sign in to comment.