v4, initial_estimation_checks.m: test number of shocks and not number of estimated shock variances
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@472 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
b3fb320b74
commit
71df1c6aa1
|
@ -10,7 +10,7 @@ if nv-size(options_.varobs,1)
|
|||
error(['Estimation can''t take place because the declared number of observed' ...
|
||||
'variables doesn''t match the number of variables in the database.'])
|
||||
end
|
||||
if nv > estim_params_.nvx+estim_params_.nvn
|
||||
if nv > M_.exo_nbr+estim_params_.nvn
|
||||
error(['Estimation can''t take place because there are less shocks than' ...
|
||||
'observed variables'])
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue