diff options
author | default-303 <ajayds2001@gmail.com> | 2021-05-26 18:36:36 +0530 |
---|---|---|
committer | default-303 <ajayds2001@gmail.com> | 2021-05-26 18:36:36 +0530 |
commit | beacb394e94a517d1c84f8a50f9e18f3bf11ced5 (patch) | |
tree | 0d22a43c5f336847c8cf8186808ea34bf0ff272b /numpy/linalg/linalg.py | |
parent | b30318a031624e17b01ffa5f82853c24c5111f32 (diff) | |
download | numpy-beacb394e94a517d1c84f8a50f9e18f3bf11ced5.tar.gz |
MAINT: Removed 'if' block which served no purpose in core.py and removed '_linalgRealType(t)' function from linalg.py
Diffstat (limited to 'numpy/linalg/linalg.py')
-rw-r--r-- | numpy/linalg/linalg.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py index 37237ab19..b56126a1c 100644 --- a/numpy/linalg/linalg.py +++ b/numpy/linalg/linalg.py @@ -128,10 +128,6 @@ def _realType(t, default=double): def _complexType(t, default=cdouble): return _complex_types_map.get(t, default) -def _linalgRealType(t): - """Cast the type t to either double or cdouble.""" - return double - def _commonType(*arrays): # in lite version, use higher precision (always double or cdouble) result_type = single |