-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Simplify :alg
extraction
#945
Conversation
There was a CI failing related to "Steady State Adjoint". Based on |
Why doesn't this test have an |
It's just using the default. |
b87c456
to
dc0e5c1
Compare
how does it access to defaults when https://github.com/SciML/SciMLSensitivity.jl/blob/master/test/steady_state.jl |
The default is in the kwarg: https://github.com/SciML/SciMLSensitivity.jl/blob/282c24ef282d50d431913bfac2a83b025d34ae76/test/steady_state.jl#L397 |
@avik-pal do you know why this works in SciMLSensitivity but not here? https://github.com/SciML/DiffEqBase.jl/actions/runs/6455307402/job/17563616620?pr=945#step:6:1405 . Is this something solved in SciML/SciMLSensitivity.jl#905 or did it break here? |
I fixed it in 2f0a9a4 |
Are nonlinear solvers AbstractDEAlgorithm? Line 1460 in dc0e5c1
|
julia> supertypes(DynamicSS)
(DynamicSS, SteadyStateDiffEq.SteadyStateDiffEqAlgorithm, SciMLBase.AbstractSteadyStateAlgorithm, SciMLBase.AbstractDEAlgorithm, SciMLBase.AbstractSciMLAlgorithm, Any) |
Yeah but here the dispatch is failing for the discrete solvers. julia> supertypes(NewtonRaphson)
(NewtonRaphson, NonlinearSolve.AbstractNewtonAlgorithm, NonlinearSolve.AbstractNonlinearSolveAlgorithm, SciMLBase.AbstractNonlinearAlgorithm, SciMLBase.AbstractSciMLAlgorithm, Any) Dispatch on |
Is it intended to ignore types of Lines 1050 to 1051 in 301dd29
? |
That looks to me like a bug . It would be good to try and find a code that hits that branch. |
else | ||
__solve(prob, args...; kwargs...) | ||
__solve(prob, alg; kwargs...) |
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 is dropping the rest of the args?
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.
No, there isn't any other args
, the length check assures us.
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.
oh I see
Can you add tests for the cases which were fixed? |
Most of the errors were caused by simplifying the |
No description provided.