diff options
author | mattip <matti.picus@gmail.com> | 2019-04-25 16:14:37 -0700 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-04-25 16:14:37 -0700 |
commit | 22e6aa46f005a564589fc874171f1a31fc9aa0c3 (patch) | |
tree | 9a4f5750c0b58656f481ad7ea506e02276d8ab59 /doc/release | |
parent | 539fa48df6c8e1ed079d1ef374006f93c26384b4 (diff) | |
download | numpy-22e6aa46f005a564589fc874171f1a31fc9aa0c3.tar.gz |
DOC: add release note
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/1.17.0-notes.rst | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst index 893ec9b45..c2ea2aab2 100644 --- a/doc/release/1.17.0-notes.rst +++ b/doc/release/1.17.0-notes.rst @@ -198,15 +198,21 @@ returns an appropriate infinity. Specialized ``np.isnan``, ``np.isinf``, and ``np.isfinite`` ufuncs for bool and int types ----------------------------------------------------------------------------------------- -The boolean and integer types are incapable of storing ``np.nan`` and ``np.inf`` values, -which allows us to provide specialized ufuncs that are up to 250x faster than the current -approach. +The boolean and integer types are incapable of storing ``np.nan`` and +``np.inf`` values, which allows us to provide specialized ufuncs that are up to +250x faster than the current approach. New keywords added to ``np.nan_to_num`` --------------------------------------- -``np.nan_to_num`` now accepts keywords ``nan``, ``posinf`` and ``neginf`` allowing the -user to define the value to replace the ``nan``, positive and negative ``np.inf`` values -respectively. +``np.nan_to_num`` now accepts keywords ``nan``, ``posinf`` and ``neginf`` +allowing the user to define the value to replace the ``nan``, positive and +negative ``np.inf`` values respectively. + +MemoryErrors caused by allocated overly large arrays are more descriptive +------------------------------------------------------------------------- +Often the cause of a MemoryError is incorrect broadcasting, which results in a +very large and incorrect shape. The message of the error now includes this +shape to help diagnose the cause of failure. Changes |