diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2009-08-26 03:43:46 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2009-08-26 03:43:46 +0000 |
commit | 4176f33526beb6f1efd0efd1cbdd89ab103c72b6 (patch) | |
tree | dcdccfcbba4f00827ac073ac2093ab929cc5ca0f /numpy/lib/tests/test_financial.py | |
parent | 183609e2de003e953b0c7f01fa35eeb46fc61ea0 (diff) | |
download | numpy-4176f33526beb6f1efd0efd1cbdd89ab103c72b6.tar.gz |
Make some fixes in mirr implementation to avoid overflow in
summing booleans. Do some whitespace cleanup.
Diffstat (limited to 'numpy/lib/tests/test_financial.py')
-rw-r--r-- | numpy/lib/tests/test_financial.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_financial.py b/numpy/lib/tests/test_financial.py index 0ad3766bf..3c9703621 100644 --- a/numpy/lib/tests/test_financial.py +++ b/numpy/lib/tests/test_financial.py @@ -43,7 +43,7 @@ class TestFinancial(TestCase): v2 = [-120000,39000,30000,21000,37000,46000] assert_almost_equal(np.mirr(v2,0.10,0.12), 0.1344, 4) - + v3 = [100,200,-50,300,-200] assert_almost_equal(np.mirr(v3,0.05,0.06), 0.3428, 4) |