diff options
author | Fei Liu <liufei11111@hotmail.com> | 2014-11-05 23:20:16 -0500 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-02-17 13:12:40 -0700 |
commit | 97917ac8d45c54aa99453b350cd1834a121d1d29 (patch) | |
tree | 761793ab35353d6da145a0bf38af9355c917082e /numpy/core/arrayprint.py | |
parent | 4065adbcc4e9d320f41b78922a906f16c6add7cc (diff) | |
download | numpy-97917ac8d45c54aa99453b350cd1834a121d1d29.tar.gz |
BUG: Fix zero divide warning in financial.pmt.
The pmt function in financial.py does a zero divide when rate=0 because
error because the alternatives in np.where() are evaluated befor the
selection is made.first before going into the function however, the
denominator can be zero at that time.
Closes #4701.
Diffstat (limited to 'numpy/core/arrayprint.py')
0 files changed, 0 insertions, 0 deletions