-
Notifications
You must be signed in to change notification settings - Fork 8
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 isapprox doesn't fail as expected #31
Comments
abs(x-y) <= atol + rtol*max(abs(x), abs(y))) Setting julia> @test isapprox(4.289638913597693e-5, 4.28963889781338e-5, atol=1e-16, rtol=0)
Test Failed
Expression: isapprox(4.289638913597693e-5, 4.28963889781338e-5, atol=1.0e-16, rtol=0)
ERROR: There was an error during testing Note that |
yes, that needs this |
An alternative is to set only |
hmm, i'll stick with comparing the difference and |
The new syntax for |
some constants have their values changed in the last SOFA release, and will be updated with the future liberfa release:
https://github.com/nirinA/ERFA.jl/blob/IAU2012/src/erfa_common.jl
running the current
runtests.jl
, it doesn't fail as it should do. for instance:whereas:
The text was updated successfully, but these errors were encountered: