Skip to content
Snippets Groups Projects
Verified Commit 4cbdb21f authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Sébastien Villemot
Browse files

resol.m: reduce inheritance of decision rule info

(cherry picked from commit 827a7fca)
parent 1b24475f
Branches
Tags
No related merge requests found
...@@ -51,7 +51,24 @@ function [dr, info, M, options, oo] = resol(check_flag, M, options, oo) ...@@ -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/>. % along with Dynare. If not, see <http://www.gnu.org/licenses/>.
if isfield(oo,'dr') 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 end
if M.exo_nbr == 0 if M.exo_nbr == 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment