diff options
Diffstat (limited to 'tests/general_tests/fminunc/fminunc_options1.sce')
-rw-r--r-- | tests/general_tests/fminunc/fminunc_options1.sce | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/general_tests/fminunc/fminunc_options1.sce b/tests/general_tests/fminunc/fminunc_options1.sce index eb939d5..a9cecf0 100644 --- a/tests/general_tests/fminunc/fminunc_options1.sce +++ b/tests/general_tests/fminunc/fminunc_options1.sce @@ -5,7 +5,7 @@ function y = fun(x) y = x(1)^2 + x(2)^2; endfunction x0 = [1,2]; -options=list("MaxIter", "", "CpuTime", [500], "Gradient", "OFF", "Hessian", "OFF"); +options=list("MaxIter", "", "CpuTime", [500], "GradObj", "OFF", "Hessian", "OFF"); //Error //fminunc: Value for Maximum Iteration should be a Constant |