-
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
Bug fix for polynomial optimization for PERK integrator #2004
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 #2004 +/- ##
==========================================
- Coverage 96.22% 96.22% -0.00%
==========================================
Files 462 462
Lines 37043 37046 +3
==========================================
+ Hits 35644 35646 +2
- Misses 1399 1400 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Good catch, thanks!
Co-authored-by: Daniel Doehring <[email protected]>
When the user used the integrator
ode_algorithm = Trixi.PairedExplicitRK2(3, tspan, semi)
,gamma_opt
fromTrixi.bisect_stability_polynomial
would be returned as a number, which caused a set_index error whenTrixi.undo_normalization!
was called after inmethods_PERK2
.This fix attempts to address this issue effectively without making major changes to the existing code.