Skip to content

Commit 9361a24

Browse files
committed
Update VBAexpressions.cls
1 parent 8975334 commit 9361a24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/VBAexpressions.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4988,11 +4988,11 @@ Private Function IRR_(ByRef expression As String, ByRef fName As String) As Stri
49884988
Select Case argsCount
49894989
Case 1, 2
49904990
'Attempt to arrive at a positive IRR solution.
4991-
tmpEval = fZeroMBM(DefineIRRfunction(strArray), -0.2, 0.99, 0.00001, False)
4991+
tmpEval = fZeroMBM(DefineIRRfunction(strArray), -0.2, 0.99, False, 0.00001)
49924992
If argsCount = 2 Then
49934993
If CBool(tmpData(UB)) Then
49944994
If tmpEval = e_ValueError Then 'Positive IRR not found
4995-
tmpEval = fZeroMBM(DefineIRRfunction(strArray), -0.99, -0.19, 0.00001, False)
4995+
tmpEval = fZeroMBM(DefineIRRfunction(strArray), -0.99, -0.19, False, 0.00001)
49964996
End If
49974997
End If
49984998
End If

0 commit comments

Comments
 (0)