diff options
| author | Matti Picus <matti.picus@gmail.com> | 2022-11-29 23:33:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-29 23:33:27 +0200 |
| commit | b0b7a066c393a1d7cc69e9a6db7c7c7a3602b293 (patch) | |
| tree | dc4f958c35884078fdfdc3b58c1627417c7c13b1 /numpy/linalg | |
| parent | 2cf8c40727b08c029cdaf7fce803d031a60499a2 (diff) | |
| parent | cbecc96b62477890174ae91433c4c9c28cc7765b (diff) | |
| download | numpy-b0b7a066c393a1d7cc69e9a6db7c7c7a3602b293.tar.gz | |
Merge pull request #22619 from seberg/move-set_module
MAINT: Move set_module from numpy.core to numpy._utils
Diffstat (limited to 'numpy/linalg')
| -rw-r--r-- | numpy/linalg/linalg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py index 697193321..ee0fe6166 100644 --- a/numpy/linalg/linalg.py +++ b/numpy/linalg/linalg.py @@ -18,6 +18,7 @@ import functools import operator import warnings +from .._utils import set_module from numpy.core import ( array, asarray, zeros, empty, empty_like, intc, single, double, csingle, cdouble, inexact, complexfloating, newaxis, all, Inf, dot, @@ -28,7 +29,6 @@ from numpy.core import ( reciprocal ) from numpy.core.multiarray import normalize_axis_index -from numpy.core.overrides import set_module from numpy.core import overrides from numpy.lib.twodim_base import triu, eye from numpy.linalg import _umath_linalg @@ -943,7 +943,7 @@ def qr(a, mode='reduced'): return wrap(a) # mc is the number of columns in the resulting q - # matrix. If the mode is complete then it is + # matrix. If the mode is complete then it is # same as number of rows, and if the mode is reduced, # then it is the minimum of number of rows and columns. if mode == 'complete' and m > n: |
