Make sure options_-field logged_steady_state is correctly set in stoch_simul.m

time-shift
Johannes Pfeifer 2015-05-25 23:38:04 +02:00
parent da5f7243e9
commit 14a15ec68b
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ else
[oo_.dr,info,M_,options_,oo_] = resol(0,M_,options_,oo_);
end
if options_.loglinear && isfield(oo_.dr,'ys') && options_.logged_steady_state==0 %log steady state for correct display of decision rules and simulations
if options_.loglinear && isfield(oo_.dr,'ys') && options_.logged_steady_state==0 %log steady state for correct display of decision rule
oo_.dr.ys=log(oo_.dr.ys);
oo_.steady_state=log(oo_.steady_state);
options_old.logged_steady_state = 1;