Skip to content

Commit 78ffcf1

Browse files
Fix jac resizing
1 parent ddf2c2d commit 78ffcf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/OrdinaryDiffEqDifferentiation/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OrdinaryDiffEqDifferentiation"
22
uuid = "4302a76b-040a-498a-8c04-15b101fed76b"
33
authors = ["Chris Rackauckas <accounts@chrisrackauckas.com>", "Yingbo Ma <mayingbo5@gmail.com>"]
4-
version = "1.15.0"
4+
version = "1.16.0"
55

66
[deps]
77
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"

lib/OrdinaryDiffEqDifferentiation/src/derivative_wrappers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ function resize_jac_config!(cache, integrator)
317317
ad_left = autodiff_alg
318318
end
319319

320-
SciMLBase.@reset cache.jac_config = ([DI.prepare!_jacobian(
320+
cache.jac_config = ([DI.prepare!_jacobian(
321321
uf, cache.du1, config, ad, integrator.u)
322322
for (ad, config) in zip(
323323
(ad_right, ad_left), cache.jac_config)]...,)

0 commit comments

Comments
 (0)