Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Johannes Pfeifer
dynare
Commits
4e0f2bf6
Commit
4e0f2bf6
authored
Jun 02, 2021
by
Johannes Pfeifer
Browse files
dynare_solve.m: have csolve honor selected options
parent
438ed7a4
Pipeline
#5439
passed with stages
in 78 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
matlab/dynare_solve.m
View file @
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment