You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just starting to kick things around a little and tried bond_test_code.jl. main() and main3() run fine, but got the following error on main2():
julia>main2()
ERROR: MethodError:`npv` has no method matching npv(::QuantLib.ZeroCouponBond{Int64,QuantLib.DiscountingBondEngine{QuantLib.PiecewiseYieldCurve{Int64,QuantLib.BootstrapHelper,QuantLib.Time.ISDAActualActual,QuantLib.Math.LogInterpolation,QuantLib.Discount,QuantLib.IterativeBootstrap}}}, ::QuantLib.DiscountingBondEngine{QuantLib.PiecewiseYieldCurve{Int64,QuantLib.BootstrapHelper,QuantLib.Time.ISDAActualActual,QuantLib.Math.LogInterpolation,QuantLib.Discount,QuantLib.IterativeBootstrap}})
Closest candidates are:npv{B<:QuantLib.Bond}(::B<:QuantLib.Bond)
npv(::QuantLib.Instrument)
in main2 at C:\Users\Eric Forgy\.julia\v0.4\QuantLib\examples\bond_test_code.jl:424
I'll have a look, but wanted to let you know.
Cheers!
The text was updated successfully, but these errors were encountered:
Ah yes, thank you! I had forgotten about that method, its functionality is basically encapsulated in main3 (how do you like my test function names!). I'll comment that whole method out.
Hi @pazzo83 ,
I'm just starting to kick things around a little and tried bond_test_code.jl. main() and main3() run fine, but got the following error on main2():
I'll have a look, but wanted to let you know.
Cheers!
The text was updated successfully, but these errors were encountered: