diff options
author | bebert218 <guillaume.viry@gmail.com> | 2013-05-22 13:58:38 +0900 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-05-29 08:17:14 -0600 |
commit | e50475a64050bdea104d39ad2c487e847fe4b031 (patch) | |
tree | a9faba486bfecddceef1b6ede79345eefcb21bbd /numpy/doc/basics.py | |
parent | 1f11f22ad71da9cb95b541be01fbfb4eed6d3d5b (diff) | |
download | numpy-e50475a64050bdea104d39ad2c487e847fe4b031.tar.gz |
BUG: The npv function in financial.py was incorrectly implemented.
Correct the implementation of the npv function, its documentation, and
the mirr function that depends on it. The test_financial.py is also
corrected to take into account those modifications
The npv function behavior was contrary to what the documentation stated
as it summed indexes 1 to M instead of 0 to M-1. The mirr function used
a corrective factor to get the correct result in spite of that error so
that factor is removed.
Closes #649
Diffstat (limited to 'numpy/doc/basics.py')
0 files changed, 0 insertions, 0 deletions