Skip to content

Commit

Permalink
bugfix: is_defaults() is a method, not property (#782)
Browse files Browse the repository at this point in the history
Closes #781

Co-authored-by: Brian Kroth <bpkroth@users.noreply.github.com>
  • Loading branch information
motus and bpkroth authored Jul 10, 2024
1 parent a989d89 commit 5a06286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlos_bench/mlos_bench/schedulers/base_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def schedule_trial(self, tunables: TunableGroups) -> None:
# prevented).
"optimizer": self.optimizer.name,
"repeat_i": repeat_i,
"is_defaults": tunables.is_defaults,
"is_defaults": tunables.is_defaults(),
**{
f"opt_{key}_{i}": val
for (i, opt_target) in enumerate(self.optimizer.targets.items())
Expand Down

0 comments on commit 5a06286

Please sign in to comment.