Skip to content

Commit

Permalink
Merge branch 'optuna:master' into emmr-terminator-blog-readme-update
Browse files Browse the repository at this point in the history
  • Loading branch information
eukaryo authored Oct 16, 2024
2 parents 1eee431 + 3e31e8d commit 5a0d0af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion optuna/_convert_positional_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def converter_wrapper(*args: Any, **kwargs: Any) -> "_T":

kwargs.update(inferred_kwargs)

return func(**kwargs)
return func(**kwargs) # type: ignore[call-arg]

return converter_wrapper

Expand Down
2 changes: 1 addition & 1 deletion optuna/study/study.py
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ def _should_skip_enqueue(self, params: Mapping[str, JSONSerializable]) -> bool:
if isinstance(param_value, Real)
else param_value == existing_param
)
repeated_params.append(is_repeated)
repeated_params.append(bool(is_repeated))

if all(repeated_params):
return True
Expand Down

0 comments on commit 5a0d0af

Please sign in to comment.