Fix a lint error

This commit is contained in:
c-bata
2022-03-12 03:13:49 +09:00
parent 5bcff9e593
commit 64e9b7c3fe
+1 -1
View File
@@ -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)