You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# These tests flex differentiation of the solver and through the initialization
25
32
# To only test the solver part and isolate potential issues, set the initialization to consistent
26
33
@testset"Inplace: $(isinplace(_prob)), DAEProblem: $(_prob isa DAEProblem), BrownBasic: $(initalg isa BrownFullBasicInit), Autodiff: $autodiff"for _prob in [
27
-
prob, prob_oop],
28
-
initalg in [BrownFullBasicInit(), ShampineCollocationInit()], autodiff in [true, false]
34
+
prob, prob_oop, prob_mm],
35
+
initalg in [BrownFullBasicInit(), ShampineCollocationInit()], autodiff in [afd_cs3, AutoFiniteDiff()]
29
36
30
-
alg =DFBDF(; autodiff)
37
+
alg =_prob isa DAEProblem ?DFBDF(; autodiff) :FBDF(; autodiff)
31
38
functionf(p)
32
-
@inferredsol =solve(remake(_prob, p = p), alg, abstol =1e-14,
39
+
sol =solve(remake(_prob, p = p), alg, abstol =1e-14,
0 commit comments