Skip to content

Commit baff159

Browse files
Tweaked ValueError message
1 parent 4c05ec5 commit baff159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkl_fft/_scipy_fft_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def _workers_to_num_threads(w):
151151
return _workers_global_settings.get().workers
152152
_w = operator.index(w)
153153
if (_w == 0):
154-
raise ValueError("Number of workers must be nonzero")
154+
raise ValueError("Number of workers must not be zero")
155155
if (_w < 0):
156156
ub = _cpu_max_threads_count().get_cpu_count()
157157
_w += ub + 1

0 commit comments

Comments
 (0)