Skip to content

Commit e339367

Browse files
Merge pull request #2605 from SciML/ChrisRackauckas-patch-2
Continue fixing tests
2 parents bcabe9e + 72d53b6 commit e339367

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/OrdinaryDiffEqSDIRK/src/algorithms.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,6 +1286,7 @@ struct ESDIRK437L2SA{CS, AD, F, F2, P, FDT, ST, CJ} <:
12861286
precs::P
12871287
extrapolant::Symbol
12881288
controller::Symbol
1289+
autodiff::AD
12891290
end
12901291
function ESDIRK437L2SA(; chunk_size = Val{0}(), autodiff = AutoForwardDiff(),
12911292
standardtag = Val{true}(), concrete_jac = nothing,

test/regression/psos_and_energy_conservation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ end
9090

9191
# energy conserving callback:
9292
# important to use save = false, I don't want rescaling points
93-
cb = ManifoldProjection(ghh, abstol = 1e-13, save = false)
93+
cb = ManifoldProjection(ghh, abstol = 1e-13, save = false, autodiff = AutoForwardDiff())
9494

9595
# Callback for Poincare surface of section
9696
function psos_callback(j, direction = +1, offset::Real = 0,

0 commit comments

Comments
 (0)