Commit 765109ee authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'csolve' into 'master'

dynare_solve.m: have csolve honor selected options

See merge request Dynare/dynare!1867
parents 438ed7a4 4e0f2bf6
......@@ -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
......
Supports Markdown
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