Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisholder committed Mar 7, 2025
1 parent 541e7fd commit add714e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aeon/utils/_threading.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def wrapper(*args: Any, **kwargs: Any) -> Any:

if n_jobs is None and args and hasattr(args[0], "n_jobs"):
# This gets n_jobs if it belongs to a object (i.e. self.n_jobs)
n_jobs = args[0]["n_jobs"]
n_jobs = args[0].n_jobs

adjusted_n_jobs = check_n_jobs(n_jobs)
set_num_threads(adjusted_n_jobs)
Expand Down

0 comments on commit add714e

Please sign in to comment.