Skip to content
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

Fix tests not not assume Rosenbrock23 doesn't W transform #294

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

oscardssmith
Copy link
Contributor

with SciML/OrdinaryDiffEq.jl#2307 Rosenbrock23 (like everything else) uses the W-transform so this switches the test to test Rodas5P (since otherwise there isn't a sequencing that would keep CI green).

@oscardssmith oscardssmith merged commit 34155fc into master Sep 12, 2024
7 of 8 checks passed
@oscardssmith oscardssmith deleted the os/no-assume-w_transform-false branch September 12, 2024 16:26
@@ -15,13 +15,6 @@ using Test
nothing
end

nWfacts = Ref(0)
function Wfact(W, u, h, p, dtgamma, t)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this PR remove the Wfact tests? We could skip them for Rosenbrock23 if needed but for TRBDF2 they should still work, shouldn't they?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wfact only gets used when transform=false and rosenbrock23 was the last solver that didn't w-transform.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

once I merge both of the OrdinaryDiffEq prs, I'm going to open a PR that deprecates or removes W_fact from ODEFuncton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants