Skip to content

Commit

Permalink
MAINT: linalg: remove a stray np.cast
Browse files Browse the repository at this point in the history
  • Loading branch information
ev-br authored and scottshambaugh committed Jul 28, 2023
1 parent 8991dc5 commit 0d7f0ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scipy/linalg/_decomp.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import warnings

import numpy
from numpy import (array, isfinite, inexact, nonzero, iscomplexobj, cast,
from numpy import (array, isfinite, inexact, nonzero, iscomplexobj,
flatnonzero, conj, asarray, argsort, empty,
iscomplex, zeros, einsum, eye, inf)
# Local imports
Expand All @@ -29,7 +29,7 @@
from scipy._lib.deprecation import _NoValue


_I = cast['F'](1j)
_I = numpy.array(1j, dtype='F')


def _make_complex_eigvecs(w, vin, dtype):
Expand Down

0 comments on commit 0d7f0ff

Please sign in to comment.