Make sure loglinear option correctly set logged_steady_state option for use in stoch_simul.m
parent
f597709228
commit
94fe1de08a
|
@ -86,7 +86,8 @@ end
|
|||
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;
|
||||
options_old.logged_steady_state = 1; %make sure option is preserved outside of stoch_simul
|
||||
options_.logged_steady_state=1; %set option for use in stoch_simul
|
||||
end
|
||||
if info(1)
|
||||
options_ = options_old;
|
||||
|
|
Loading…
Reference in New Issue