diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-08-11 18:05:00 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-08-15 09:49:02 -0600 |
commit | 98e3a6cb17f0c9ad834d88af50646127249f1a5f (patch) | |
tree | 6f09768c7191489c59c51598e76b6a954095edd9 /doc | |
parent | f9259c3732797ed5cd7db60720a5c19c1a4abe0e (diff) | |
download | numpy-98e3a6cb17f0c9ad834d88af50646127249f1a5f.tar.gz |
DOC: Note the new behavior of financial.npv in the 1.8.0 release notes.
Closes #3389.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.8.0-notes.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/release/1.8.0-notes.rst b/doc/release/1.8.0-notes.rst index 6fd3917da..db662e36c 100644 --- a/doc/release/1.8.0-notes.rst +++ b/doc/release/1.8.0-notes.rst @@ -103,6 +103,16 @@ Function `median` used with `overwrite_input` only partially sorts array If `median` is used with `overwrite_input` option the input array will now only be partially sorted instead of fully sorted. +Fix to financial.npv +~~~~~~~~~~~~~~~~~~~~ + +The npv function had a bug. Contrary to what the documentation stated, it +summed from indexes ``1`` to ``M`` instead of from ``0`` to ``M - 1``. The +fix changes the returned value. The mirr function called the npv function, +but worked around the problem, so that was also fixed and the return value +of the mirr function remains unchanged. + + New Features ============ |