QuantLib.jl icon indicating copy to clipboard operation
QuantLib.jl copied to clipboard

test error at test/swaptions.jl:93

Open reumle opened this issue 3 years ago • 0 comments

Hi, I have just downloaded the package and run test in a clean environment. All tests pass but the last one. I am on Julia 1.6.1.

If I replay the swaptions.jl file , I get this error

julia> QuantLib.Math.is_close(npv(bermudanSwaption), 14.11010300956427)
false

due to

npv(bermudanSwaption)
14.110397004348162

Where do you think is the problem? with the npv(bermudanSwaption) code , or with the test constant?

reumle avatar Nov 12 '21 10:11 reumle