From 58d6f0170863b5a228234508980c0b63e1904696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Mon, 2 Dec 2013 14:58:33 +0100 Subject: [PATCH] Fix bug with DSGE-VAR introduced in f7cdc39f --- ComputingTasks.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ComputingTasks.cc b/ComputingTasks.cc index e037f2d4..8d213250 100644 --- a/ComputingTasks.cc +++ b/ComputingTasks.cc @@ -521,7 +521,7 @@ EstimatedParamsStatement::checkPass(ModFileStructure &mod_file_struct, WarningCo // Fill in mod_file_struct.estimated_parameters (related to #469) for (vector::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)); }