From cc26a1d806c61737c764ea9163cf18f81a13db48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Mon, 8 Oct 2012 14:32:22 +0200
Subject: [PATCH] Add comment for the use case when there is no
 estimated_params

---
 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 3e4b77ae9..7e5c3483d 100644
--- a/matlab/dynare_estimation_init.m
+++ b/matlab/dynare_estimation_init.m
@@ -151,7 +151,7 @@ if ~isempty(estim_params_)
     ub = bounds(:,2);
     bayestopt_.lb = lb;
     bayestopt_.ub = ub;
-else% If estim_params_ is empty...
+else% If estim_params_ is empty (e.g. when running the smoother on a calibrated model)
     xparam1 = [];
     bayestopt_.lb = [];
     bayestopt_.ub = [];
-- 
GitLab