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

Test master again #298

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Test master again #298

wants to merge 1 commit into from

Conversation

ChrisRackauckas
Copy link
Member

No description provided.

@oscardssmith
Copy link
Contributor

The CI failure here is very odd: Here's a reduced MWE. The things that really don't make sense to me are that the ODE version of the solver works, that swapping out the ODE solver of the DDE solver fixes it, and that when it fails, it fails on the 2nd, not the first time we resize.

fode(du, u, p, t) = du.=u
fdde(du, u, h, p, t) = du.=u
condition(u, t, integrator) = t-round(t)
function affect!(integrator)
    resize!(integrator, length(integrator.u) + 1)
    integrator.u[end] = 1
    nothing
end
probode = ODEProblem(fode, [0.2], (0.0, 2.0); callback = ContinuousCallback(condition, affect!))
probdde = DDEProblem(fdde, [0.2], nothing, (0.0, 2.0); callback = ContinuousCallback(condition, affect!))
solve(probode, ORK256(); dt = 0.2) #works
solve(probdde, MethodOfSteps(Tsit5()); dt = 0.2, adaptive=false) #works
solve(probdde, MethodOfSteps(Euler()); dt = 0.2) #works
solve(probdde, MethodOfSteps(ORK256()); dt = 0.2) #fails at 2nd resize

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