-
-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
It looks like if you use ComponentArrays with Sundials, it "succeeds" but the solution is wrong, eg here it doesn't move from the initial value even though the answer should be e.
julia> using DiffEqBase, Sundials, ComponentArrays
julia> prob = ODEProblem((u,p,t)->u, ComponentArray(x=ones(10)), (0.,1.));
julia> sol = solve(prob, CVODE_BDF(linear_solver=:BCG), reltol=1e-3);
julia> sol(1)
ComponentVector{Float64}(x = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0])This is Julia 1.5.2, ComponentArrays v0.8.7, and Sundials v4.2.6.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working