Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test error at test/swaptions.jl:93 #21

Open
reumle opened this issue Nov 12, 2021 · 0 comments
Open

test error at test/swaptions.jl:93 #21

reumle opened this issue Nov 12, 2021 · 0 comments

Comments

@reumle
Copy link

reumle commented Nov 12, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant