From 787e03ece1fd80051963489f26e740b75522cedd Mon Sep 17 00:00:00 2001
From: michel <michel@ac1d8469-bf42-47a9-8791-bf33cf982152>
Date: Sat, 21 Mar 2009 18:12:50 +0000
Subject: [PATCH] 4.0: merget r2501 changeset from trunk (ri isn't a matrix
 anymore)

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

diff --git a/matlab/DiffuseKalmanSmootherH3_Z.m b/matlab/DiffuseKalmanSmootherH3_Z.m
index 1fbc193902..5dc6109a05 100644
--- a/matlab/DiffuseKalmanSmootherH3_Z.m
+++ b/matlab/DiffuseKalmanSmootherH3_Z.m
@@ -254,7 +254,7 @@ while t>d+1
       ri = Z(i,:)'/Fi(i,t)*v(i,t)+Li(:,:,i,t)'*ri;
     end
   end
-  r(:,t) = ri(:,t);
+  r(:,t) = ri;
   alphahat(:,t) = a1(:,t) + P1(:,:,t)*r(:,t);
   etahat(:,t) = QRt*r(:,t);
   ri = T'*ri;
-- 
GitLab