-
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
Use for custom integrators only OrdinaryDiffEq:CallbackSet
, no blank line elixirs
#2226
Use for custom integrators only OrdinaryDiffEq:CallbackSet
, no blank line elixirs
#2226
Conversation
…rst line blank for elixirs
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. |
I definitely like the consistence, but personally I would prefer to not have an additional blank line in the elixirs. I don't really see a reason why it should be there. In other Julia files, we also don't have a blank line in the beginning. |
100 % agreed. I could also remove the blank line instead (just did here what results in fewer changes). |
If no-one objects, I would go for that. |
OrdinaryDiffEq:CallbackSet
, first line blank for all elixirsOrdinaryDiffEq:CallbackSet
, no blank line elixirs
Co-authored-by: Joshua Lampert <[email protected]>
We should adapt the warnings that we ignore to make CI pass again, see https://github.com/trixi-framework/Trixi.jl/actions/runs/12713449820/job/35441395773?pr=2226#step:7:1334 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error is genuine: https://github.com/trixi-framework/Trixi.jl/actions/runs/12713449820/job/35488240347?pr=2226#step:7:2345. We need to import init
from OrdinaryDiffEq.jl in the test.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2226 +/- ##
===========================================
+ Coverage 43.20% 96.42% +53.21%
===========================================
Files 485 486 +1
Lines 39006 39164 +158
===========================================
+ Hits 16852 37761 +20909
+ Misses 22154 1403 -20751
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thanks for this catch! I did not check the CI in the meantime, but it seems that the MKL download/import errors are magically gone 🤔 Do we know why ? |
Yes, I was also wondering why they are gone. I retriggered CI because the Accessors.jl problem is fixed. But do we know why the MKL download error appeared in the first place? |
Yeah I also first thought that the errors are due to the Accessors business. Maybe they truly are, but due to some obscure backend behaviour this failed precompilation resulted in a compile at "test runtime" which causes the MKL download? Anyway, nice to have things working again. |
For the custom integrators it suffices to import only the
CallbackSet
fromOrdinaryDiffEq.jl
, see this comment.Out of 431 elixirs, about 130 did not start with a blank line. Now they all do.