We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28a9aa4 commit 90cfb81Copy full SHA for 90cfb81
1 file changed
DifferentiationInterface/src/second_order/hessian.jl
@@ -159,7 +159,7 @@ function hessian(
159
contexts::Vararg{Context,C},
160
) where {F,SIG,B,aligned,C}
161
check_prep(f, prep, backend, x, contexts...)
162
- (; batch_size_settings, batched_seeds, hvp_prep) = prep
+ (; batch_size_settings, batched_seeds, seed_example, hvp_prep) = prep
163
(; A, B_last) = batch_size_settings
164
165
hvp_prep_same = prepare_hvp_same_point(
@@ -187,7 +187,7 @@ function hessian!(
187
188
) where {F,SIG,B,C}
189
190
- (; batch_size_settings, batched_seeds, batched_results, hvp_prep) = prep
+ (; batch_size_settings, batched_seeds, batched_results, seed_example, hvp_prep) = prep
191
(; N) = batch_size_settings
192
193
0 commit comments