From c94011eeb83d77ad46c5dc0ec5a422c6e3acd8d8 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Sat, 29 Oct 2016 11:53:05 +0200 Subject: [PATCH] missing_DiffuseKalmanSmootherH1_Z.m: fix crash when Pinf is singular for more than 1 period iFstar was accessed as three-dimensional array with t along third dimension, but it is only two-dimensional --- matlab/missing_DiffuseKalmanSmootherH1_Z.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/missing_DiffuseKalmanSmootherH1_Z.m b/matlab/missing_DiffuseKalmanSmootherH1_Z.m index d5f5cde9f..1fcc31c74 100644 --- a/matlab/missing_DiffuseKalmanSmootherH1_Z.m +++ b/matlab/missing_DiffuseKalmanSmootherH1_Z.m @@ -132,7 +132,7 @@ while rank(Pinf(:,:,t+1),diffuse_kalman_tol) && t