Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

fix the issue #351 #352

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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