Skip to content

Commit cef31b5

Browse files
authored
Slight type instability. (#144)
1 parent 4582ed5 commit cef31b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/objective_types/incomplete.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ function value_gradient_hessian!!(obj, x)
137137
else
138138
obj.F = obj.fdfh(obj.DF, obj.H, x)
139139
end
140+
obj.F, obj.DF, obj.H
140141
end
141142

142143
function gradient_hessian!!(obj, x)
@@ -150,6 +151,7 @@ function gradient_hessian!!(obj, x)
150151
obj.x_h .= x
151152
obj.dfh(obj.DF, obj.H, x)
152153
end
154+
obj.DF, obj.H
153155
end
154156

155157
function TwiceDifferentiableHV(t::InPlaceFG_HV, x::AbstractVector)

0 commit comments

Comments
 (0)