Cosmetical change for use_mh_covariance_matrix

With use_mh_covariance_matrix we do not load previous simulations, but only base the proposal density on a previous run; so skip the display.
covariance-quadratic-approximation
Willi Mutschler 2023-12-19 23:47:19 +01:00
parent f8a6020d2b
commit b435aa7f27
No known key found for this signature in database
GPG Key ID: 91E724BF17A73F6D
1 changed files with 3 additions and 1 deletions

View File

@ -386,7 +386,9 @@ elseif options_.load_mh_file && ~options_.mh_recover
record.InitialSeeds = record.LastSeeds;
write_mh_history_file(MetropolisFolder, ModelName, record);
fprintf('Done.\n')
fprintf('%s: Ok. I have loaded %u simulations.\n\n', dispString,NumberOfPreviousSimulations);
if ~options_.use_mh_covariance_matrix
fprintf('%s: Ok. I have loaded %u simulations.\n\n', dispString,NumberOfPreviousSimulations);
end
fclose(fidlog);
elseif options_.mh_recover
% The previous metropolis-hastings crashed before the end! I try to recover the saved draws...