check # equations=# variables

Hi,
for the next release it would be nice to have an explicit check for number of equations and number of variables.
Something like Error: #equations=... ; #variables =...
In a number of situations when the equality does not hod, Dynare crashes (in dr1 at about line 340) complaining of "Subscript assignment dimension mismatch: Error in dr1 at 340
d(1:sdyn,k)=a(...
Cheers
Gianni
for the next release it would be nice to have an explicit check for number of equations and number of variables.
Something like Error: #equations=... ; #variables =...
In a number of situations when the equality does not hod, Dynare crashes (in dr1 at about line 340) complaining of "Subscript assignment dimension mismatch: Error in dr1 at 340
d(1:sdyn,k)=a(...
Cheers
Gianni