Moved position for mode_file option.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1800 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
ratto 2008-04-14 09:50:46 +00:00
parent 9f8deb4fdd
commit 460267525b
1 changed files with 4 additions and 3 deletions

View File

@ -26,6 +26,10 @@ options_gsa = set_default_option(options_gsa,'datafile',[]);
if isfield(options_gsa,'nograph'),
options_.nograph=options_gsa.nograph;
end
if isfield(options_gsa,'mode_file'),
options_.mode_file=options_gsa.mode_file;
end
if ~isempty(options_gsa.datafile) | isempty(bayestopt_),
options_.datafile = options_gsa.datafile;
@ -44,9 +48,6 @@ end
if isfield(options_gsa,'loglinear'),
options_.loglinear=options_gsa.loglinear;
end
if isfield(options_gsa,'mode_file'),
options_.mode_file=options_gsa.mode_file;
end
options_.mode_compute = 0;
[data,rawdata]=dynare_estimation_init([],1);
% computes a first linear solution to set up various variables