Skip to content

Commit bd62b64

Browse files
authored
Minor hessian fix (#561)
* Speed up Jacobian and Hessian with mapreduce * Bump version * Revert * Unbump
1 parent f663225 commit bd62b64

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

  • DifferentiationInterface/src/second_order

DifferentiationInterface/src/second_order/hessian.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ function hessian(
121121
end
122122

123123
hess = reduce(hcat, hess_blocks)
124-
if N < size(hess, 2)
125-
hess = hess[:, 1:N]
126-
end
127124
return hess
128125
end
129126

0 commit comments

Comments
 (0)