From 1db24b310795a5e62f637a79087b3f629a57c503 Mon Sep 17 00:00:00 2001 From: Michel Juillard Date: Tue, 18 Jan 2011 17:53:22 +0100 Subject: [PATCH] bug correction for diffuse smoother --- matlab/missing_DiffuseKalmanSmootherH3_Z.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/missing_DiffuseKalmanSmootherH3_Z.m b/matlab/missing_DiffuseKalmanSmootherH3_Z.m index 26670b9e9..0e9360319 100644 --- a/matlab/missing_DiffuseKalmanSmootherH3_Z.m +++ b/matlab/missing_DiffuseKalmanSmootherH3_Z.m @@ -141,7 +141,7 @@ while newRank & t < smpl end end if newRank - oldRank = rank(Pinf(:,:,t),crit); + oldRank = rank(Pinf(:,:,t),crit1); else oldRank = 0; end