diff --git a/matlab/check.m b/matlab/check.m index 03ede0593de5fdde02c6409ecf98d17a7b86cb7f..1ca7e34057d1c963c26d7f5f952339b2d533ffae 100644 --- a/matlab/check.m +++ b/matlab/check.m @@ -7,7 +7,7 @@ global it_ temp_options = options_; 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'; end @@ -22,6 +22,8 @@ global it_ [dr, info] = resol(oo_.steady_state,1); + oo_.dr = dr; + if info(1) ~= 0 & info(1) ~= 3 & info(1) ~= 4 print_info(info); end