Skip to content

Commit 3ef4305

Browse files
authored
MAINT: linters fix (scipy#22063)
1 parent c1cc45d commit 3ef4305

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scipy/sparse/linalg/_dsolve/linsolve.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,9 @@ def splu(A, permc_spec=None, diag_pivot_thresh=None,
371371
372372
Notes
373373
-----
374-
When a real array is factorized and the returned SuperLU object's ``solve()`` method
375-
is used with complex arguments an error is generated. Instead, cast the initial
376-
array to complex and then factorize.
374+
When a real array is factorized and the returned SuperLU object's ``solve()``
375+
method is used with complex arguments an error is generated. Instead, cast the
376+
initial array to complex and then factorize.
377377
378378
This function uses the SuperLU library.
379379

scipy/special/tests/test_nan_inputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Test how the ufuncs in special handle nan inputs.
22
33
"""
4-
from typing import Callable
4+
from collections.abc import Callable
55

66
import numpy as np
77
from numpy.testing import assert_array_equal, assert_, suppress_warnings

0 commit comments

Comments
 (0)