Getting error when I use forecast option


I am getting next message after run my .mod:

Estimation::mcmc: Posterior (dsge) IRFs…
Estimation::mcmc: Posterior IRFs, done!
Subscripted assignment dimension mismatch.

Error in missing_DiffuseKalmanSmootherH1_Z (line 137)
Fstar(:,:,t) = ZZ*Pstar(:,:,t)*ZZ’ + H(di,di); % (5.7) in DK (2012)

I am getting it when I use forecast option.
Please, how could I fix this?

I attach my (197.6 KB).


I ran your file on Dynare 4.5.1 and could not replicate the issue