Fix bug with DSGE-VAR introduced in f7cdc39f

issue#70
Sébastien Villemot 2013-12-02 14:58:33 +01:00
parent 8d2c28f3bf
commit 58d6f01708
1 changed files with 1 additions and 1 deletions

View File

@ -521,7 +521,7 @@ EstimatedParamsStatement::checkPass(ModFileStructure &mod_file_struct, WarningCo
// Fill in mod_file_struct.estimated_parameters (related to #469)
for (vector<EstimationParams>::const_iterator it = estim_params_list.begin();
it != estim_params_list.end(); it++)
if (it->type == 2)
if (it->type == 2 && it->name != "dsge_prior_weight")
mod_file_struct.estimated_parameters.insert(symbol_table.getID(it->name));
}