Verified Commit 9e5cb142 authored by Johannes Pfeifer 's avatar Johannes Pfeifer Committed by Stéphane Adjemian
Browse files

Save jscale to record structure before running MCMC

Useful in conjunction with mh_tune_jscale in cases where the posterior sampler crashes
parent 9c216dc0
......@@ -226,6 +226,7 @@ if ~options_.load_mh_file && ~options_.mh_recover
record.LastLineNumber = AnticipatedNumberOfLinesInTheLastFile;
record.MCMCConcludedSuccessfully = 0;
id = write_mh_history_file(MetropolisFolder, ModelName, record);
disp(['Estimation::mcmc: Details about the MCMC are available in ' BaseName '_mh_history_' num2str(id) '.mat'])
Markdown is supported
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