Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix flake8
  • Loading branch information
ickc committed Aug 26, 2021
commit c19b36a1bae71caa6c53b9b6315f844867e835dc
6 changes: 2 additions & 4 deletions numba/np/ufunc/parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,8 @@ def select_from_backends(backends):

t = str(config.THREADING_LAYER).lower()
namedbackends = config.THREADING_LAYER_PRIORITY
if not (
len(namedbackends) == 3 and
set(namedbackends) == {'tbb', 'omp', 'workqueue'}
):
if not (len(namedbackends) == 3 and
set(namedbackends) == {'tbb', 'omp', 'workqueue'}):
raise ValueError(
"THREADING_LAYER_PRIORITY invalid: %s."
Comment thread
ickc marked this conversation as resolved.
Resolved
"It must be a permutation of "
Expand Down