Allow irf_shocks in DSGE-VAR models.
parent
a509fa7b87
commit
e9f9aa2184
|
@ -559,13 +559,6 @@ EstimationStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsoli
|
||||||
|
|
||||||
it = options_list.num_options.find("dsge_var");
|
it = options_list.num_options.find("dsge_var");
|
||||||
if (it != options_list.num_options.end())
|
if (it != options_list.num_options.end())
|
||||||
// Ensure that irf_shocks & dsge_var have not both been passed
|
|
||||||
if (options_list.symbol_list_options.find("irf_shocks") != options_list.symbol_list_options.end())
|
|
||||||
{
|
|
||||||
cerr << "The irf_shocks and dsge_var options may not both be passed to estimation." << endl;
|
|
||||||
exit(EXIT_FAILURE);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
// Fill in mod_file_struct.dsge_var_calibrated
|
// Fill in mod_file_struct.dsge_var_calibrated
|
||||||
mod_file_struct.dsge_var_calibrated = it->second;
|
mod_file_struct.dsge_var_calibrated = it->second;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue