Skip to content

Commit

Permalink
Update test/alternative_ad_frontend.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Jan 3, 2024
1 parent a1a014d commit eda79ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/alternative_ad_frontend.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ struct senseloss0{T}
sense::T
end
function (f::senseloss0)(u0p)
prob = ODEProblem{false}(odef, u0p[1:1], (0.0, 1.0), u0p[2:2])
prob = ODEProblem{true}(odef, u0p[1:1], (0.0, 1.0), u0p[2:2])
sum(solve(prob, Tsit5(), abstol = 1e-12, reltol = 1e-12, saveat = 0.1))
end
u0p = [2.0, 3.0]
Expand Down

0 comments on commit eda79ca

Please sign in to comment.