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
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment