We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 609ad53 commit af589d5Copy full SHA for af589d5
ext/OptimizationReverseDiffExt.jl
@@ -20,7 +20,6 @@ function Optimization.instantiate_function(f, x, adtype::AutoReverseDiff,
20
end
21
22
if f.hess === nothing
23
-
24
hess = function (res, θ, args...)
25
ReverseDiff.hessian!(res, x -> _f(x, args...), θ)
26
ext/OptimizationSparseDiffExt.jl
@@ -325,7 +325,6 @@ function Optimization.instantiate_function(f, x, adtype::AutoSparseFiniteDiff, p
325
326
return OptimizationFunction{true}(f, adtype; grad = grad, hess = hess, hv = hv,
327
cons = cons, cons_j = cons_j, cons_h = cons_h,
328
- cons_jac_colorvec = f.cons_jac_colorvec,
329
hess_prototype = f.hess_prototype,
330
cons_jac_prototype = f.cons_jac_prototype,
331
cons_hess_prototype = f.cons_hess_prototype,
@@ -447,7 +446,6 @@ function Optimization.instantiate_function(f, cache::Optimization.ReInitCache,
447
446
448
449
450
- cons_jac_colorvec = cons_jac_colorvec,
451
hess_prototype = hess_sparsity,
452
cons_jac_prototype = cons_jac_prototype,
453
cons_hess_prototype = getfield.(hesscaches, :sparsity),
0 commit comments