Commit 6c22d398 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Perfect foresight simulation: clean up handling of warnings

parent 76d5d441
......@@ -62,6 +62,7 @@ end
initial_endo_simul = oo_.endo_simul;
warning_old_state = warning;
warning off all
if nargin<1
......@@ -185,4 +186,4 @@ if ~stop
oo_.endo_simul = initial_endo_simul;
end
warning on all
\ No newline at end of file
warning(warning_old_state);
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