diff options
Diffstat (limited to 'tests/general_tests/fminunc/fminunc_gradient3.sce')
-rw-r--r-- | tests/general_tests/fminunc/fminunc_gradient3.sce | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/general_tests/fminunc/fminunc_gradient3.sce b/tests/general_tests/fminunc/fminunc_gradient3.sce index f35f7f1..0cb85d7 100644 --- a/tests/general_tests/fminunc/fminunc_gradient3.sce +++ b/tests/general_tests/fminunc/fminunc_gradient3.sce @@ -6,7 +6,7 @@ function y = fun(x) endfunction x0 = [1,2]; grad = []; -options=list("MaxIter", [1000], "CpuTime", [100], "Gradient", grad, "Hessian", "OFF"); +options=list("MaxIter", [1000], "CpuTime", [100], "GradObj", grad, "Hessian", "OFF"); //Error //fminunc: Expected function for Gradient of Objective |