-
Notifications
You must be signed in to change notification settings - Fork 114
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
Add test coverage for Non-conservative BC do nothing #2269
base: main
Are you sure you want to change the base?
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2269 +/- ##
==========================================
+ Coverage 96.88% 96.88% +0.01%
==========================================
Files 490 490
Lines 39491 39491
==========================================
+ Hits 38257 38260 +3
+ Misses 1234 1231 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
By the way, function Base.isapprox(x::Tuple, y::Tuple;
atol::Real=0, rtol::Real=rtoldefault(x,y,atol),
nans::Bool=false, norm::Function=abs)
x′, = promote(x)
y′, = promote(y)
x == y ||
(all(isfinite.(x)) && all(isfinite.(y)) && Trixi.norm.(x .- y) <= max(ntuple(_ -> atol, length(x)), rtol.*max(Trixi.norm.(x′), Trixi.norm.(y′)))) ||
(nans && isnan(x) && isnan(y))
end to keep everything cleaner, so that
will look like
|
We should not do that since that's type piracy. |
No description provided.