[Numpy-svn] [numpy/numpy] 6febef: BUG: In `norm`, always cast non-floating point arr...
GitHub
noreply at github.com
Sat Jan 23 00:24:56 EST 2016
Branch: refs/heads/maintenance/1.11.x
Home: https://github.com/numpy/numpy
Commit: 6febef796423f7dda50227cfea30786208305b23
https://github.com/numpy/numpy/commit/6febef796423f7dda50227cfea30786208305b23
Author: John Kirkham <kirkhamj at janelia.hhmi.org>
Date: 2016-01-22 (Fri, 22 Jan 2016)
Changed paths:
M numpy/linalg/linalg.py
Log Message:
-----------
BUG: In `norm`, always cast non-floating point arrays to 64-bit floats.
Otherwise, weird integer roundoff errors giving faulty results in some
cases.
Commit: 5a763ce81b55301d55b314789e8f3fcad477a217
https://github.com/numpy/numpy/commit/5a763ce81b55301d55b314789e8f3fcad477a217
Author: John Kirkham <kirkhamj at janelia.hhmi.org>
Date: 2016-01-22 (Fri, 22 Jan 2016)
Changed paths:
M numpy/linalg/tests/test_linalg.py
Log Message:
-----------
TST: Verify that `norm` is properly casting values to floats as needed.
Commit: 0d6f1cca11debdb08ca9beef7a3f12426561e26e
https://github.com/numpy/numpy/commit/0d6f1cca11debdb08ca9beef7a3f12426561e26e
Author: John Kirkham <kirkhamj at janelia.hhmi.org>
Date: 2016-01-22 (Fri, 22 Jan 2016)
Changed paths:
M numpy/linalg/linalg.py
M numpy/linalg/tests/test_linalg.py
Log Message:
-----------
BUG: Make sure that the `ord=0` case returns a float.
Commit: f9fc1a8832baf74e32f58cf9424a474600104f65
https://github.com/numpy/numpy/commit/f9fc1a8832baf74e32f58cf9424a474600104f65
Author: John Kirkham <kirkhamj at janelia.hhmi.org>
Date: 2016-01-22 (Fri, 22 Jan 2016)
Changed paths:
M numpy/linalg/linalg.py
Log Message:
-----------
DOC: Update `norm` docstring examples to include floating point values.
Commit: e02c46f7995e213c98459aad32032897971bd057
https://github.com/numpy/numpy/commit/e02c46f7995e213c98459aad32032897971bd057
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-01-22 (Fri, 22 Jan 2016)
Changed paths:
M numpy/linalg/linalg.py
M numpy/linalg/tests/test_linalg.py
Log Message:
-----------
Merge pull request #7098 from jakirkham/cast_float_linalg_bp_1_11_x
Backport 7088, BUG: Have `norm` cast non-floating point arrays to 64-bit float arrays
Compare: https://github.com/numpy/numpy/compare/438837830e65...e02c46f7995e
More information about the Numpy-svn
mailing list