Skip to content

Commit

Permalink
make the copyto! for get_hessian more precise.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Jul 11, 2023
1 parent a384c52 commit 79a6b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plans/hessian_plan.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ end
function get_hessian!(
M::AbstractManifold, Y, mho::ManifoldHessianObjective{AllocatingEvaluation}, p, X
)
copyto!(M, Y, mho.hessian!!(M, p, X))
copyto!(M, Y, p, mho.hessian!!(M, p, X))
return Y
end
function get_hessian!(
Expand Down

0 comments on commit 79a6b40

Please sign in to comment.