Skip to content
Snippets Groups Projects
Commit 33baab14 authored by michel's avatar michel
Browse files

v4 check.m: corrected bug when no exogenous variable and save results in oo_.dr

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1509 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 2f7b6c40
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ global it_ ...@@ -7,7 +7,7 @@ global it_
temp_options = options_; temp_options = options_;
tempex = oo_.exo_simul; tempex = oo_.exo_simul;
if ~options_.initval_file if ~options_.initval_file & M_.exo_nbr > 1
oo_.exo_simul = ones(M_.maximum_lead+M_.maximum_lag+1,1)*oo_.exo_steady_state'; oo_.exo_simul = ones(M_.maximum_lead+M_.maximum_lag+1,1)*oo_.exo_steady_state';
end end
...@@ -22,6 +22,8 @@ global it_ ...@@ -22,6 +22,8 @@ global it_
[dr, info] = resol(oo_.steady_state,1); [dr, info] = resol(oo_.steady_state,1);
oo_.dr = dr;
if info(1) ~= 0 & info(1) ~= 3 & info(1) ~= 4 if info(1) ~= 0 & info(1) ~= 3 & info(1) ~= 4
print_info(info); print_info(info);
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment