Skip to content

Commit

Permalink
Slight type instability. (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkofod authored Nov 2, 2021
1 parent 4582ed5 commit cef31b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/objective_types/incomplete.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ function value_gradient_hessian!!(obj, x)
else
obj.F = obj.fdfh(obj.DF, obj.H, x)
end
obj.F, obj.DF, obj.H
end

function gradient_hessian!!(obj, x)
Expand All @@ -150,6 +151,7 @@ function gradient_hessian!!(obj, x)
obj.x_h .= x
obj.dfh(obj.DF, obj.H, x)
end
obj.DF, obj.H
end

function TwiceDifferentiableHV(t::InPlaceFG_HV, x::AbstractVector)
Expand Down

0 comments on commit cef31b5

Please sign in to comment.