diff options
author | Toshiki Kataoka <kataoka@preferred.jp> | 2022-04-08 07:40:12 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 15:40:12 -0700 |
commit | 0d13f9f747887b290108a909dd92c3cb47239921 (patch) | |
tree | 3d8736b1cf2b8c42b16bb384b9ab70af710eee7c /numpy/array_api/_statistical_functions.py | |
parent | b43367e8b59dcaa81dba7cba2df7672c807817b1 (diff) | |
download | numpy-0d13f9f747887b290108a909dd92c3cb47239921.tar.gz |
BUG: Consistent promotion for norm for all values of ord (#17709)
Previously, numpy.linalg.norm would return values with the same floating-point
type as input arrays for most values of the ``ord`` parameter, but not all.
This PR fixes this so that the output dtype matches the input for all (valid) values
of ``ord``.
Co-authored-by: Kenichi Maehashi <webmaster@kenichimaehashi.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Diffstat (limited to 'numpy/array_api/_statistical_functions.py')
0 files changed, 0 insertions, 0 deletions