Skip to content
Snippets Groups Projects
Commit 1bd5eb6c authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Merge branch 'smc_files' into 'master'

:bug: hssmc.m: make sure no stale files are kept

See merge request !2316
parents 35a2e7bf 3fed17a5
Branches
Tags
1 merge request!2316:bug: hssmc.m: make sure no stale files are kept
Pipeline #10873 passed
......@@ -38,6 +38,8 @@ function mdd = hssmc(TargetFun, mh_bounds, dataset_, dataset_info, options_, M_,
% Set location for the simulated particles.
SimulationFolder = CheckPath('hssmc', M_.dname);
%delete old stale files before creating new ones
delete_stale_file(sprintf('%s%sparticles-*.mat', SimulationFolder,filesep))
% Define prior distribution
Prior = dprior(bayestopt_, options_.prior_trunc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment