Perfect foresight simulation: clean up handling of warnings

time-shift
Sébastien Villemot 2010-11-24 19:01:46 +01:00
parent 76d5d441ea
commit 6c22d398e6
1 changed files with 2 additions and 1 deletions

View File

@ -62,6 +62,7 @@ end
initial_endo_simul = oo_.endo_simul; initial_endo_simul = oo_.endo_simul;
warning_old_state = warning;
warning off all warning off all
if nargin<1 if nargin<1
@ -185,4 +186,4 @@ if ~stop
oo_.endo_simul = initial_endo_simul; oo_.endo_simul = initial_endo_simul;
end end
warning on all warning(warning_old_state);