Commit 3d5b9758 authored by adjemian's avatar adjemian
Browse files

eval(dir) ==> dir

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@657 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 58cb6e42
......@@ -4,6 +4,6 @@ global M_
DirectoryName = [ M_.dname '/' type ];
if ~isdir(DirectoryName)
mkdir('.',DirectoryName);
if ~isdir(DirectoryName)
mkdir('.',DirectoryName);
end
\ No newline at end of file
This diff is collapsed.
......@@ -99,7 +99,7 @@ if options_.load_mh_file == 0
record.LastLogLiK = zeros(nblck,1);
record.LastFileNumber = AnticipatedNumberOfFiles+1;
record.LastLineNumber = AnticipatedNumberOfLinesInTheLastFile;
save([DirectoryName '/' M_.fname '_mh_history'],'record');
save([MhDirectoryName '/' M_.fname '_mh_history'],'record');
elseif options_.load_mh_file == 1% Here we consider previous mh files (previous mh did not crash).
disp('MH: I''m loading past metropolis-hastings simulations...')
file = dir([ MhDirectoryName '/' M_.fname '_mh_history.mat' ]);
......
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