Merge pull request #1109 from JohannesPfeifer/small_bugfixes

Small bugfixes
time-shift
Stéphane Adjemian 2015-11-28 15:25:52 +01:00
commit 5bbdf02f73
3 changed files with 6 additions and 4 deletions

View File

@ -187,7 +187,7 @@ elseif ~options_.hp_filter && options_.one_sided_hp_filter && ~options_.bandpass
[hptrend,y] = one_sided_hp_filter(y,options_.one_sided_hp_filter);
elseif ~options_.hp_filter && ~options_.one_sided_hp_filter && options_.bandpass.indicator
data_temp=dseries(y,'0q1');
data_temp=baxter_king_filter(data_temp,options_.bandpass.passband(1),options_.bandpass.passband(2),200);
data_temp=baxter_king_filter(data_temp,options_.bandpass.passband(1),options_.bandpass.passband(2),12);
y=data_temp.data;
elseif ~options_.hp_filter && ~options_.one_sided_hp_filter && ~options_.bandpass.indicator
y = bsxfun(@minus, y, m);

View File

@ -197,9 +197,11 @@ for plt = 1:nbplt,
fprintf(fidTeX,'\\label{Fig:CheckPlots:%s}\n',int2str(plt));
fprintf(fidTeX,'\\end{figure}\n');
fprintf(fidTeX,' \n');
fclose(fidTeX);
end
end
if TeX && any(strcmp('eps',cellstr(DynareOptions.graph_format)))
fclose(fidTeX);
end
OutputDirectoryName = CheckPath('modecheck',Model.dname);
save([OutputDirectoryName '/check_plot_data'],'mcheck');

View File

@ -88,8 +88,8 @@ if isempty(hh)
end
if max(htol0)>htol
skipline()
disp_verbose('Numerical noise in the likelihood')
disp_verbose('Tolerance has to be relaxed')
disp_verbose('Numerical noise in the likelihood',Verbose)
disp_verbose('Tolerance has to be relaxed',Verbose)
skipline()
end
else