Skip to content

Commit ff31aa3

Browse files
jClugstorChrisRackauckas
authored andcommitted
fix resizing for real this time
1 parent b828910 commit ff31aa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/integrators/interface.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ function DiffEqBase.resize_non_user_cache!(integrator::DDEIntegrator,
210210
OrdinaryDiffEqDifferentiation.resize_jac_config!(cache, integrator)
211211
OrdinaryDiffEqDifferentiation.resize_grad_config!(cache, integrator)
212212
else
213-
OrdinaryDiffEqDifferentiation.resize_jac_config!(cache.jac_config, integrator)
214-
OrdinaryDiffEqDifferentiation.resize_grad_config!(cache.grad_config, integrator)
213+
OrdinaryDiffEqDifferentiation.resize_jac_config!(cache.jac_config, i)
214+
OrdinaryDiffEqDifferentiation.resize_grad_config!(cache.grad_config, i)
215215
end
216216

217217
nothing

0 commit comments

Comments
 (0)