Bayesian IRF error

Hi, in my code the estimation runs correctly, except I get the following error when Dynare tries to compute the impulse response functions. I did a search of the forum and didn’t find anything. Does anyone know what the problem is? Thanks!

MH: Posterior (dsge) IRFs…
??? Error using ==> area at 48
X must be same length as Y.

Error in ==> PosteriorIRF at 425
h1 = area(1:options_.irf,HPDIRF(:,2,j,i));

Error in ==> dynare_estimation_1 at 1078
PosteriorIRF(‘posterior’);

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

This may be a bug in Dynare. To verify this, please post your MOD-file.

I modified my data a bit, and the error went away