Commit 30033df2 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Deactivate 2nd and 3rd order approximation of purely forward models

There are some strange crashes in both normal mode (gensylv) and k_order_solver
mode
parent c34c90e8
......@@ -56,6 +56,12 @@ if (options_.aim_solver == 1) && (options_.order > 1)
error('Option "aim_solver" is incompatible with order >= 2')
end
if M_.maximum_endo_lag == 0 && options_.order >= 2
error(['2nd and 3rd order approximation not implemented for purely ' ...
'forward models'])
end
if options_.k_order_solver;
if options_.risky_steadystate
[dr,info] = dyn_risky_steadystate_solver(oo_.steady_state,M_,dr, ...
......
......@@ -21,17 +21,7 @@ check;
stoch_simul(periods=0, irf=30, order=1);
stoch_simul(periods=2000, irf=30, order=1);
stoch_simul(periods=0, irf=30, order=2);
stoch_simul(periods=2000, irf=30, order=2);
stoch_simul(periods=0, irf=30, order=3);
stoch_simul(periods=2000, irf=30, order=3);
stoch_simul(periods=0, irf=30, order=1,hp_filter=1600);
stoch_simul(periods=2000, irf=30, order=1,hp_filter=1600);
stoch_simul(periods=0, irf=30, order=2,hp_filter=1600);
stoch_simul(periods=2000, irf=30, order=2,hp_filter=1600);
stoch_simul(periods=0, irf=30, order=3,hp_filter=1600);
stoch_simul(periods=2000, irf=30, order=3,hp_filter=1600);
......@@ -22,15 +22,6 @@ check;
stoch_simul(periods=0, irf=30, order=1);
stoch_simul(periods=2000, irf=30, order=1);
stoch_simul(periods=0, irf=30, order=2);
stoch_simul(periods=2000, irf=30, order=2);
stoch_simul(periods=0, irf=30, order=3);
stoch_simul(periods=2000, irf=30, order=3);
stoch_simul(periods=0, irf=30, order=1,hp_filter=1600);
stoch_simul(periods=2000, irf=30, order=1,hp_filter=1600);
stoch_simul(periods=0, irf=30, order=2,hp_filter=1600);
stoch_simul(periods=2000, irf=30, order=2,hp_filter=1600);
stoch_simul(periods=0, irf=30, order=3,hp_filter=1600);
stoch_simul(periods=2000, irf=30, order=3,hp_filter=1600);
Markdown is supported
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