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
Dóra Kocsis
dynare
Commits
454638d7
Commit
454638d7
authored
Dec 06, 2012
by
Houtan Bastani
Browse files
removed useless calls to set_default_options (already set in global_initialization.m)
parent
38bc29ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
matlab/discretionary_policy_1.m
View file @
454638d7
...
...
@@ -24,8 +24,9 @@ dr = [];
ys
=
[];
info
=
0
;
options_
=
set_default_option
(
options_
,
'qz_criterium'
,
1.000001
);
options_
=
set_default_option
(
options_
,
'solve_maxit'
,
3000
);
if
isempty
(
options_
.
qz_criterium
)
options_
.
qz_criterium
=
1
+
1e-6
;
end
% safeguard against issues like running ramsey policy first and then running discretion
if
isfield
(
M_
,
'orig_model'
)
...
...
matlab/osr.m
View file @
454638d7
...
...
@@ -20,9 +20,7 @@ function osr(var_list,params,i_var,W)
global
M_
options_
oo_
options_
.
order
=
1
;
options_
=
set_default_option
(
options_
,
'replic'
,
1
);
options_
=
set_default_option
(
options_
,
'simul'
,
0
);
options_
=
set_default_option
(
options_
,
'periods'
,
1
);
if
isempty
(
options_
.
qz_criterium
)
options_
.
qz_criterium
=
1
+
1e-6
;
...
...
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