Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sébastien Villemot
dynare
Commits
1ce40d4d
Verified
Commit
1ce40d4d
authored
1 year ago
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
Steady state computation with bytecode + Ramsey policy was broken
parent
6820edd6
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/optimal_policy/dyn_ramsey_static.m
+3
-3
3 additions, 3 deletions
matlab/optimal_policy/dyn_ramsey_static.m
with
3 additions
and
3 deletions
matlab/optimal_policy/dyn_ramsey_static.m
+
3
−
3
View file @
1ce40d4d
...
...
@@ -25,7 +25,7 @@ function [steady_state, params, check] = dyn_ramsey_static(ys_init, exo_ss, M_,
% SPECIAL REQUIREMENTS
% none
% Copyright © 2003-202
3
Dynare Team
% Copyright © 2003-202
4
Dynare Team
%
% This file is part of Dynare.
%
...
...
@@ -137,7 +137,7 @@ end
% Compute the value of the Lagrange multipliers that minimizes the norm of the
% residuals, given the other endogenous
if
options_
.
bytecode
res
=
bytecode
(
'static'
,
M_
,
options
,
xx
,
exo_ss
,
M_
.
params
,
'evaluate'
);
res
=
bytecode
(
'static'
,
M_
,
options
_
,
xx
,
exo_ss
,
M_
.
params
,
'evaluate'
);
else
res
=
feval
([
M_
.
fname
'.sparse.static_resid'
],
xx
,
exo_ss
,
M_
.
params
);
end
...
...
@@ -167,7 +167,7 @@ end
function
result
=
check_static_model
(
ys
,
exo_ss
,
M_
,
options_
)
result
=
false
;
if
(
options_
.
bytecode
)
res
=
bytecode
(
'static'
,
M_
,
options
,
ys
,
exo_ss
,
M_
.
params
,
'evaluate'
);
res
=
bytecode
(
'static'
,
M_
,
options
_
,
ys
,
exo_ss
,
M_
.
params
,
'evaluate'
);
else
res
=
feval
([
M_
.
fname
'.sparse.static_resid'
],
ys
,
exo_ss
,
M_
.
params
);
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment