Skip to content

Commit

Permalink
MAINT: rm private, unused linalg function.
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbar committed Oct 6, 2022
1 parent a2cc1c3 commit 06c380c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions numpy/linalg/linalg.py
Expand Up @@ -171,17 +171,6 @@ def _to_native_byte_order(*arrays):
return ret


def _fastCopyAndTranspose(type, *arrays):
cast_arrays = ()
for a in arrays:
if a.dtype.type is not type:
a = a.astype(type)
cast_arrays = cast_arrays + (a.T.copy(),)
if len(cast_arrays) == 1:
return cast_arrays[0]
else:
return cast_arrays

def _assert_2d(*arrays):
for a in arrays:
if a.ndim != 2:
Expand Down

0 comments on commit 06c380c

Please sign in to comment.