From f7eb39f7bbcc504b68c80c5e84be9d08627e4bcf Mon Sep 17 00:00:00 2001 From: Michel Juillard Date: Thu, 13 Jan 2011 21:45:09 +0100 Subject: [PATCH] bug correction related to smoother --- matlab/dynare_estimation_1.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/dynare_estimation_1.m b/matlab/dynare_estimation_1.m index 8b0d238ab..9704b3089 100644 --- a/matlab/dynare_estimation_1.m +++ b/matlab/dynare_estimation_1.m @@ -392,7 +392,7 @@ if options_.mode_compute == 0 && length(options_.mode_file) == 0 && options_.mh_ decomp(options_.filter_step_ahead,i_endo,:,:); end end - for i=bayestopt_.smoother_saved_var_list' + for i=bayestopt_.smoother_saved_var_list i1 = dr.order_var(bayestopt_.smoother_var_list(i)); eval(['oo_.SmoothedVariables.' deblank(M_.endo_names(i1,:)) ' = atT(i,:)'';']); eval(['oo_.FilteredVariables.' deblank(M_.endo_names(i1,:)) ' = squeeze(aK(1,i,:));']);