Commit 6beb4e3f authored by Marco Ratto's avatar Marco Ratto
Browse files

small bug fix

parent e8f159f6
......@@ -169,7 +169,7 @@ if ~options_.load_mh_file && ~options_.mh_recover
%% Creation of the mh-history file:
%%
file = dir([MhDirectoryName '/' ModelName '_mh_history.mat']);
if length(files)
if length(file)
delete([ MhDirectoryName '/' ModelName '_mh_history.mat']);
disp('MH: Old mh_history file successfully erased!')
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment