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
f37f4d4b
Commit
f37f4d4b
authored
Apr 23, 2012
by
MichelJuillard
Browse files
fixing bug in computing steady state of Ramsey policy
parent
7ddab426
Changes
2
Hide whitespace changes
Inline
Side-by-side
matlab/dyn_ramsey_static.m
View file @
f37f4d4b
...
...
@@ -35,6 +35,7 @@ function [steady_state,params,check] = dyn_ramsey_static(x,M,options_,oo)
steady_state
=
[];
params
=
M
.
params
;
check
=
0
;
options_
.
steadystate
.
nocheck
=
1
;
nl_func
=
@
(
x
)
dyn_ramsey_static_1
(
x
,
M
,
options_
,
oo
);
if
options_
.
steadystate_flag
...
...
matlab/evaluate_steady_state_file.m
View file @
f37f4d4b
...
...
@@ -78,7 +78,7 @@ function [ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M,options)
end
% adding values for auxiliary variables
if
length
(
M
.
aux_vars
)
>
0
if
length
(
M
.
aux_vars
)
>
0
&&
~
options
.
ramsey_policy
h_set_auxiliary_variables
=
str2func
([
M
.
fname
'_set_auxiliary_variables'
]);
ys
=
h_set_auxiliary_variables
(
ys
,
exo_ss
,
params
);
end
...
...
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