summaryrefslogtreecommitdiff
path: root/tests/general_tests/fminunc/fminunc_hessian4.sce
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general_tests/fminunc/fminunc_hessian4.sce')
-rw-r--r--tests/general_tests/fminunc/fminunc_hessian4.sce2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/general_tests/fminunc/fminunc_hessian4.sce b/tests/general_tests/fminunc/fminunc_hessian4.sce
index 47ce1c4..60c3177 100644
--- a/tests/general_tests/fminunc/fminunc_hessian4.sce
+++ b/tests/general_tests/fminunc/fminunc_hessian4.sce
@@ -8,7 +8,7 @@ x0 = [1,2];
function y = hess(x)
y=[2,0];
endfunction
-options=list("MaxIter", [1000], "CpuTime", [100], "Gradient", "OFF", "Hessian", hess);
+options=list("MaxIter", [1000], "CpuTime", [100], "GradObj", "OFF", "Hessian", hess);
//Error
//fminunc: Wrong Input for Objective Hessian function(3rd Parameter)---->Symmetric Matrix function of size [2 X 2] is Expected