summaryrefslogtreecommitdiff
path: root/tests/general_tests/fminunc/fminunc_gradient2.sce
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general_tests/fminunc/fminunc_gradient2.sce')
-rw-r--r--tests/general_tests/fminunc/fminunc_gradient2.sce2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/general_tests/fminunc/fminunc_gradient2.sce b/tests/general_tests/fminunc/fminunc_gradient2.sce
index 5c1c3d3..921e6ef 100644
--- a/tests/general_tests/fminunc/fminunc_gradient2.sce
+++ b/tests/general_tests/fminunc/fminunc_gradient2.sce
@@ -5,7 +5,7 @@ function y = fun(x)
y = x(1)^2 + x(2)^2;
endfunction
x0 = [1,2];
-options=list("MaxIter", [1000], "CpuTime", [100], "Gradient", "", "Hessian", "OFF");
+options=list("MaxIter", [1000], "CpuTime", [100], "GradObj", "", "Hessian", "OFF");
//Error
//fminunc: Unrecognized String [] entered for the option- Gradient.