From de490e9e4afdb1bb32eda94d5ba8d7228ba3c098 Mon Sep 17 00:00:00 2001 From: Marco Ratto Date: Fri, 15 Oct 2010 11:36:26 +0200 Subject: [PATCH] delete remnants of previous Bayesian irf computations --- matlab/PosteriorIRF.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matlab/PosteriorIRF.m b/matlab/PosteriorIRF.m index ddceaf4db..d84ae19ed 100644 --- a/matlab/PosteriorIRF.m +++ b/matlab/PosteriorIRF.m @@ -84,6 +84,8 @@ elseif strcmpi(type,'gsa') else MhDirectoryName = CheckPath('prior'); end +delete([MhDirectoryName filesep M_.fname '_IRF_DSGEs*.mat']); +delete([MhDirectoryName filesep M_.fname '_IRF_BVARDSGEs*.mat']); if strcmpi(type,'posterior') load([ MhDirectoryName filesep M_.fname '_mh_history.mat']) TotalNumberOfMhDraws = sum(record.MhDraws(:,1));