Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Dynare
dynare
Commits
4cbdb21f
Unverified
Commit
4cbdb21f
authored
Jan 28, 2021
by
Johannes Pfeifer
Committed by
Sébastien Villemot
Jan 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resol.m: reduce inheritance of decision rule info
(cherry picked from commit
827a7fca
)
parent
1b24475f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
matlab/resol.m
matlab/resol.m
+18
-1
No files found.
matlab/resol.m
View file @
4cbdb21f
...
...
@@ -51,7 +51,24 @@ function [dr, info, M, options, oo] = resol(check_flag, M, options, oo)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
if
isfield
(
oo
,
'dr'
)
dr
=
oo
.
dr
;
if
isfield
(
oo
.
dr
,
'kstate'
)
dr
.
kstate
=
oo
.
dr
.
kstate
;
end
if
isfield
(
oo
.
dr
,
'inv_order_var'
)
dr
.
inv_order_var
=
oo
.
dr
.
inv_order_var
;
end
if
isfield
(
oo
.
dr
,
'order_var'
)
dr
.
order_var
=
oo
.
dr
.
order_var
;
end
if
isfield
(
oo
.
dr
,
'restrict_var_list'
)
dr
.
restrict_var_list
=
oo
.
dr
.
restrict_var_list
;
end
if
isfield
(
oo
.
dr
,
'restrict_columns'
)
dr
.
restrict_columns
=
oo
.
dr
.
restrict_columns
;
end
if
isfield
(
oo
.
dr
,
'obs_var'
)
dr
.
obs_var
=
oo
.
dr
.
obs_var
;
end
end
if
M
.
exo_nbr
==
0
...
...
Write
Preview
Markdown
is supported
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