Added a warning if the user put order>1 as an option in the estimation command.

time-shift
Stéphane Adjemian (Charybdis) 2010-02-04 10:30:45 +01:00
parent 926d5f83c9
commit 8878c10a75
1 changed files with 6 additions and 1 deletions

View File

@ -41,7 +41,12 @@ end
%% Set the order of approximation to one (if needed).
if options_.order > 1
options_.order = 1;
if ~exist('particle','dir')
disp('This version of Dynare cannot estimate non linearized models!')
disp('Set "order" equal to 1.')
disp(' ')
options_.order = 1;
end
end
%% Set options_.lik_init equal to 3 if diffuse filter is used.