Skip to content

Commit cb41ae4

Browse files
committed
TST: Update doc test return type for mirr
1 parent 9917fbe commit cb41ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy_financial/_financial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ def mirr(values, finance_rate, reinvest_rate, *, raise_exceptions=False):
10051005
The project has a finance rate of 10% and a reinvestment rate of 12%.
10061006
10071007
>>> npf.mirr([-100, 50, -60, 70], 0.10, 0.12)
1008-
np.float64(-0.03909366594356467)
1008+
-0.03909366594356467
10091009
10101010
It is also possible to supply multiple cashflows or pairs of
10111011
finance and reinvstment rates, note that in this case the number of elements

0 commit comments

Comments
 (0)