summaryrefslogtreecommitdiff
path: root/tests/general_tests/fminunc/fminunc_gradient1.sce
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general_tests/fminunc/fminunc_gradient1.sce')
-rw-r--r--tests/general_tests/fminunc/fminunc_gradient1.sce2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/general_tests/fminunc/fminunc_gradient1.sce b/tests/general_tests/fminunc/fminunc_gradient1.sce
index 214ff89..0da9b1c 100644
--- a/tests/general_tests/fminunc/fminunc_gradient1.sce
+++ b/tests/general_tests/fminunc/fminunc_gradient1.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", "OFn", "Hessian", "OFF");
+options=list("MaxIter", [1000], "CpuTime", [100], "GradObj", "OFn", "Hessian", "OFF");
//Error
//fminunc: Unrecognized String [OFn] entered for the option- Gradient.