summaryrefslogtreecommitdiff
path: root/tests/unit_tests/fminunc.dia.ref
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests/fminunc.dia.ref')
-rw-r--r--tests/unit_tests/fminunc.dia.ref2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/fminunc.dia.ref b/tests/unit_tests/fminunc.dia.ref
index d8cc387..c0581c4 100644
--- a/tests/unit_tests/fminunc.dia.ref
+++ b/tests/unit_tests/fminunc.dia.ref
@@ -69,7 +69,7 @@ function y= fHess(x)
y= [1200*x(1)^2- 400*x(2) + 2, -400*x(1);-400*x(1), 200 ];
endfunction
//Options
-options=list("MaxIter", [1500], "CpuTime", [500], "Gradient", fGrad, "Hessian", fHess);
+options=list("MaxIter", [1500], "CpuTime", [500], "GradObj", fGrad, "Hessian", fHess);
//Calling Ipopt
[xopt,fopt,exitflag,output,gradient,hessian]=fminunc(f,x0,options)