Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 0b3241a

Browse files
vpuri3gaurav-arya
authored andcommitted
use new (u, p, t) in autofwdmode
1 parent 9036932 commit 0b3241a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/differentiation/jaches_products.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,12 @@ function update_coefficients!(L::FwdModeAutoDiffVecProd, u, p, t)
218218
end
219219

220220
function (L::FwdModeAutoDiffVecProd)(v, p, t)
221+
L = update_coefficients(L, v, p, t)
221222
L.vecprod(L.f, L.u, v)
222223
end
223224

224225
function (L::FwdModeAutoDiffVecProd)(dv, v, p, t)
226+
update_coefficients!(L, v, p, t)
225227
L.vecprod!(dv, L.f, L.u, v, L.cache...)
226228
end
227229

0 commit comments

Comments
 (0)