Skip to content

Commit 90cfb81

Browse files
committed
fix: forgotten field
1 parent 28a9aa4 commit 90cfb81

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • DifferentiationInterface/src/second_order

DifferentiationInterface/src/second_order/hessian.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function hessian(
159159
contexts::Vararg{Context,C},
160160
) where {F,SIG,B,aligned,C}
161161
check_prep(f, prep, backend, x, contexts...)
162-
(; batch_size_settings, batched_seeds, hvp_prep) = prep
162+
(; batch_size_settings, batched_seeds, seed_example, hvp_prep) = prep
163163
(; A, B_last) = batch_size_settings
164164

165165
hvp_prep_same = prepare_hvp_same_point(
@@ -187,7 +187,7 @@ function hessian!(
187187
contexts::Vararg{Context,C},
188188
) where {F,SIG,B,C}
189189
check_prep(f, prep, backend, x, contexts...)
190-
(; batch_size_settings, batched_seeds, batched_results, hvp_prep) = prep
190+
(; batch_size_settings, batched_seeds, batched_results, seed_example, hvp_prep) = prep
191191
(; N) = batch_size_settings
192192

193193
hvp_prep_same = prepare_hvp_same_point(

0 commit comments

Comments
 (0)