I am really confused.i have a model, I still can compute an initial steady state and a final steady state, and the rank condition is still verified, but the following instructions:

Error using max
Matrix dimensions must agree.

Error in hessian (line 40)
h1=max(abs(x),sqrt(gstep)*ones(n,1))*eps^(1/6);

Error in dynare_estimation_1 (line 406)
hh = reshape(hessian(‘DsgeLikelihood’,xparam1, …

Error in dynare_estimation (line 62)
dynare_estimation_1(var_list,varargin{:});

Error in mahone211 (line 383)
dynare_estimation(var_list_);

I get the same error. I have not an estimated_params section, but I am using the “smoother” option, which does not require to define parameters to estimate.

I attache again the mod file. As I mentioned before I am trying to estimate the model with the calibrated parameters at the moment. That’s why I use the smoother option. Flue.mod (6.94 KB)