Merge pull request #1138 from JohannesPfeifer/ep_varexo_det

Provide informative error message if EP is used with varexo_det
time-shift
Stéphane Adjemian 2016-03-18 14:28:13 +01:00
commit cf9ecff321
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ options_.simul.maxit = ep.maxit;
% Prepare a structure needed by the matlab implementation of the perfect foresight model solver
pfm = setup_stochastic_perfect_foresight_model_solver(M_,options_,oo_);
if M_.exo_det_nbr~=0
error('ep: Extended path does not support varexo_det.')
end
endo_nbr = M_.endo_nbr;
exo_nbr = M_.exo_nbr;
maximum_lag = M_.maximum_lag;