From 5ad7e3b4a182331fdfd49ea65b005d38ade932c2 Mon Sep 17 00:00:00 2001
From: ratto <ratto@ac1d8469-bf42-47a9-8791-bf33cf982152>
Date: Mon, 30 Apr 2007 07:14:34 +0000
Subject: [PATCH] xparam1 as a column vector for posterior mean. This
 eliminates error in loading _mean file.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1252 ac1d8469-bf42-47a9-8791-bf33cf982152
---
 matlab/marginal_density.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/marginal_density.m b/matlab/marginal_density.m
index 66dd91fda..ac524c1c7 100644
--- a/matlab/marginal_density.m
+++ b/matlab/marginal_density.m
@@ -29,7 +29,7 @@ for n = FirstMhFile:TotalNumberOfMhFiles
   ifil = 1;
 end
 MU = MU/((TotalNumberOfMhDraws-TODROP)*nblck);
-xparam1 = MU;
+xparam1 = MU';
 MU1 = repmat(MU,MAX_nruns,1);
 %% lpost_mode is the value of the log posterior kernel at the mode.	
 fprintf(' Done!\n');
-- 
GitLab