Skip to content

Commit cfc5b68

Browse files
Set NotImplementedError exception
1 parent c0004cc commit cfc5b68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mkl_fft/_scipy_fft_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ def _check_norm(norm):
186186
def _check_plan(plan):
187187
if plan is None:
188188
return
189-
raise ValueError(
190-
f"Value plan={plan} is currently not supported"
189+
raise NotImplementedError(
190+
f"Passing a precomputed plan with value={plan} is currently not supported"
191191
)
192192

193193

0 commit comments

Comments
 (0)