We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c05ec5 commit baff159Copy full SHA for baff159
mkl_fft/_scipy_fft_backend.py
@@ -151,7 +151,7 @@ def _workers_to_num_threads(w):
151
return _workers_global_settings.get().workers
152
_w = operator.index(w)
153
if (_w == 0):
154
- raise ValueError("Number of workers must be nonzero")
+ raise ValueError("Number of workers must not be zero")
155
if (_w < 0):
156
ub = _cpu_max_threads_count().get_cpu_count()
157
_w += ub + 1
0 commit comments