Skip to content

Commit 0aabc2b

Browse files
committed
Fixes
1 parent 031fb52 commit 0aabc2b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • DifferentiationInterface/ext

DifferentiationInterface/ext/DifferentiationInterfaceGTPSAExt/onearg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ function DI.prepare_hvp(
560560
strict::Val=Val(false),
561561
) where {C}
562562
_sig = DI.signature(f, backend, x, tx, contexts...; strict)
563-
hessprep = DI.prepare_hessian(f, backend, x; strict)
563+
hessprep = DI.prepare_hessian(f, backend, x, contexts...; strict)
564564
fc = DI.with_contexts(f, contexts...)
565565
hess = similar(x, typeof(fc(x)), (length(x), length(x)))
566566
return GTPSAOneArgHVPPrep(_sig, hessprep, hess)

DifferentiationInterface/ext/DifferentiationInterfaceSymbolicsExt/onearg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ function DI.prepare_jacobian(
247247
f,
248248
backend::Union{AutoSymbolics,AutoSparse{<:AutoSymbolics}},
249249
x,
250-
contexts::Vararg{DI.Context,C},
250+
contexts::Vararg{DI.Context,C};
251251
strict::Val=Val(false),
252252
) where {C}
253253
_sig = DI.signature(f, backend, x, contexts...; strict)

0 commit comments

Comments
 (0)