-
-
Notifications
You must be signed in to change notification settings - Fork 100
Add correct solve and init dispatches #1052
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
base: master
Are you sure you want to change the base?
Conversation
2621ada
to
884d0b8
Compare
TerminalLoggers = "5d786b92-1e48-4d6f-9151-6b4477ca9bed" | ||
|
||
[sources] | ||
SciMLBase = {url = "https://github.com/SciML/SciMLBase.jl", rev = "master"} |
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.
?
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.
It's to run CI on SciMLBase master, since master has the solve dispatches for OptimizationProblem removed, but latest release still has them.
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.
Just say that. Let's do this right, none of this weird workaround stuff.
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.
I thought doing a release as it is would break Optimization.jl?
end | ||
|
||
function __solve(prob::SciMLBase.OptimizationProblem, alg, args...; kwargs...) | ||
function SciMLBase.__solve(prob::SciMLBase.OptimizationProblem, alg, args...; 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.
piracy, don't do indirect.
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.
What should I do here instead? Isn't this how other __solve dispatches are set up?
There is no solve dispatch in SciMLBase to hit... |
Should |
Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
Additional context
Fixes up the problems with #1049.
Temporarily uses
[sources]
in Project.toml to test on SciMLBase master.