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 60df8f8 commit dac5c53Copy full SHA for dac5c53
src/config.jl
@@ -279,8 +279,8 @@ This constructor does not store/modify `x`.
279
"""
280
function HessianConfig(f::F,
281
x::AbstractArray{V},
282
- chunk::Chunk,
283
- tag) where {F,V}
+ chunk::Chunk = Chunk(x),
+ tag = Tag(f, V)) where {F,V}
284
jacobian_config = JacobianConfig(f, x, chunk, tag)
285
gradient_config = GradientConfig(f, jacobian_config.duals, chunk, tag)
286
return HessianConfig(jacobian_config, gradient_config)
0 commit comments