diff --git a/matlab/dynare_solve.m b/matlab/dynare_solve.m index 913640ac33f4adae7d569cd332128babde662be3..6ce29b6c8c406f821d646fe84334ce2baaeb55ad 100644 --- a/matlab/dynare_solve.m +++ b/matlab/dynare_solve.m @@ -324,9 +324,9 @@ elseif ismember(options.solve_algo, [2, 12, 4]) end elseif options.solve_algo==3 if jacobian_flag - [x, errorflag] = csolve(f, x, f, 1e-6, 500, arguments{:}); + [x, errorflag] = csolve(f, x, f, tolf, maxit, arguments{:}); else - [x, errorflag] = csolve(f, x, [], 1e-6, 500, arguments{:}); + [x, errorflag] = csolve(f, x, [], tolf, maxit, arguments{:}); end [fvec, fjac] = feval(f, x, arguments{:}); elseif options.solve_algo==10