Skip to content

Commit

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

Co-authored-by: Brian Kroth <[email protected]>
  • Loading branch information
2 people authored and DelphianCalamity committed Jul 12, 2024
1 parent ef66d83 commit 1cacddd
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 1cacddd

Please sign in to comment.