-
Notifications
You must be signed in to change notification settings - Fork 112
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
Replace mutable structs using Accessors
#2052
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 ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2052 +/- ##
==========================================
- Coverage 96.32% 95.95% -0.37%
==========================================
Files 470 470
Lines 37447 37466 +19
==========================================
- Hits 36070 35949 -121
- Misses 1377 1517 +140
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I cannot find the good compat version - please let the bot do this :/ |
Looks good but I'm worried about the introduction of new mutable structs - not sure if it will cause problem in the future. |
I don't see an immediate reason why this would cause trouble in the future. We should definitely run some benchmarks to see whether there is any significant difference from this change. Moreover, a lot of tests seem to fail. |
I have no idea why tests only failed for |
Like if I have to pass |
Do you mean the change of mutable structs will probably affect performance a lot? Why? |
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.
See
c_h = convert(eltype(gammas), NaN) |
Thanks |
Review please @ranocha how about the other way? |
Co-authored-by: Hendrik Ranocha <[email protected]>
Co-authored-by: Hendrik Ranocha <[email protected]>
Anyway, I prefer to make things move ahead - this issue has stalled my work for a really long time. @ranocha Review again please and thanks for your long time support for my work - you are responsible |
Can you make this update to the next release as soon as possible - so that I can continue my work next week, thanks! Also help me update the compat version. |
Thanks :D |
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.
Thanks! I will create a new release when this is merged
Another good way to be continued to address #2050 as @ranocha suggested.