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-bf33cf982152
time-shift
michel 2005-10-01 11:44:45 +00:00
parent b3fb320b74
commit 71df1c6aa1
1 changed files with 1 additions and 1 deletions

View File

@ -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