mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-11 12:30:25 +08:00
Fix a lint error
This commit is contained in:
@@ -93,7 +93,7 @@ def create_dummy_storage() -> optuna.storages.InMemoryStorage:
|
||||
if x > 0:
|
||||
return math.inf
|
||||
else:
|
||||
return x ** 2
|
||||
return x**2
|
||||
|
||||
study.optimize(objective_single_inf, n_trials=50)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user