Commit 4e0f2bf6 authored by Johannes Pfeifer 's avatar Johannes Pfeifer
Browse files

dynare_solve.m: have csolve honor selected options

parent 438ed7a4
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment