From 49b45a3ba7323b114fb75058dce1a6ab85532ace Mon Sep 17 00:00:00 2001
From: Marco Ratto <marco.ratto@jrc.ec.europa.eu>
Date: Tue, 17 Jan 2017 19:08:47 +0100
Subject: [PATCH] sampler options to be set also when load_mh_file = 1

---
 matlab/dynare_estimation_init.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/dynare_estimation_init.m b/matlab/dynare_estimation_init.m
index ba1bdc9a56..0542c503a3 100644
--- a/matlab/dynare_estimation_init.m
+++ b/matlab/dynare_estimation_init.m
@@ -606,7 +606,7 @@ if options_.load_results_after_load_mh
     end
 end
 
-if options_.mh_replic
+if options_.mh_replic || options_.load_mh_file,
     [current_options, options_] = check_posterior_sampler_options([], options_, bounds);
     options_.posterior_sampler_options.current_options = current_options;
 end
-- 
GitLab