diff options
Diffstat (limited to 'tests/general_tests/fminunc/fminunc_options2.sce')
-rw-r--r-- | tests/general_tests/fminunc/fminunc_options2.sce | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/general_tests/fminunc/fminunc_options2.sce b/tests/general_tests/fminunc/fminunc_options2.sce index 1cf09ef..d5aa22b 100644 --- a/tests/general_tests/fminunc/fminunc_options2.sce +++ b/tests/general_tests/fminunc/fminunc_options2.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", , "Gradient", "OFF", "Hessian", "OFF"); +options=list("MaxIter", [1000], "CpuTime", , "GradObj", "OFF", "Hessian", "OFF"); //Error //fminunc: Value for Maximum Cpu-time should be a Constant |