Skip to content

Commit 45650b6

Browse files
authored
Update from_optim.jl
1 parent 351cb7f commit 45650b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/optim_tests/multivariate/from_optim.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function exponential_hessian!(storage::Matrix, x::Vector)
2525
storage[1, 1] = 2.0 * exp((2.0 - x[1])^2) * (2.0 * x[1]^2 - 8.0 * x[1] + 9)
2626
storage[1, 2] = 0.0
2727
storage[2, 1] = 0.0
28-
storage[2, 2] = 2.0 * exp((3.0 - x[1])^2) * (2.0 * x[2]^2 - 12.0 * x[2] + 19)
28+
storage[2, 2] = 2.0 * exp((3.0 - x[2])^2) * (2.0 * x[2]^2 - 12.0 * x[2] + 19)
2929
end
3030

3131
examples["Exponential"] = OptimizationProblem("Exponential",

0 commit comments

Comments
 (0)