SMM unable to perform assignment

Hi everyone, I’m trying to estimate a non linear model with SMM. When running dynare I receive the following error:

Unable to perform assignment because the size of the left side is X-by-1 and the size of the right side is X-by-0 (btw X is the size of my dataset)

Error in mom.data_moments (line 54)
y( (1-min(leadlags(jv),0)) : (T-max(leadlags(jv),0)), 1) = data( (1+max(leadlags(jv),0)) :
(T+min(leadlags(jv),0)), jvar).^powers(jv);

I’m not not quite sure what does this equation mean?

I would appreciate your help. Many thanks!

Can you please provide me with the files.