parent
35e77136c3
commit
50f2d00ad8
|
@ -2421,6 +2421,8 @@ ExtendedPathStatement::ExtendedPathStatement(const OptionsList &options_list_arg
|
||||||
void
|
void
|
||||||
ExtendedPathStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
|
ExtendedPathStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
|
||||||
{
|
{
|
||||||
|
mod_file_struct.extended_path_present = true;
|
||||||
|
|
||||||
if (options_list.num_options.find("periods") == options_list.num_options.end())
|
if (options_list.num_options.find("periods") == options_list.num_options.end())
|
||||||
{
|
{
|
||||||
cerr << "ERROR: the 'periods' option of 'extended_path' is mandatory" << endl;
|
cerr << "ERROR: the 'periods' option of 'extended_path' is mandatory" << endl;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2006-2012 Dynare Team
|
* Copyright (C) 2006-2013 Dynare Team
|
||||||
*
|
*
|
||||||
* This file is part of Dynare.
|
* This file is part of Dynare.
|
||||||
*
|
*
|
||||||
|
@ -31,6 +31,7 @@ ModFileStructure::ModFileStructure() :
|
||||||
ramsey_policy_present(false),
|
ramsey_policy_present(false),
|
||||||
discretionary_policy_present(false),
|
discretionary_policy_present(false),
|
||||||
planner_objective_present(false),
|
planner_objective_present(false),
|
||||||
|
extended_path_present(false),
|
||||||
order_option(0),
|
order_option(0),
|
||||||
bvar_present(false),
|
bvar_present(false),
|
||||||
svar_identification_present(false),
|
svar_identification_present(false),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2006-2012 Dynare Team
|
* Copyright (C) 2006-2013 Dynare Team
|
||||||
*
|
*
|
||||||
* This file is part of Dynare.
|
* This file is part of Dynare.
|
||||||
*
|
*
|
||||||
|
@ -55,6 +55,8 @@ public:
|
||||||
bool discretionary_policy_present;
|
bool discretionary_policy_present;
|
||||||
//! Whether a planner_objective statement is present
|
//! Whether a planner_objective statement is present
|
||||||
bool planner_objective_present;
|
bool planner_objective_present;
|
||||||
|
//! Whether an extended_path statement is present
|
||||||
|
bool extended_path_present;
|
||||||
//! The value of the "order" option of stoch_simul, estimation, osr, ramsey_policy
|
//! The value of the "order" option of stoch_simul, estimation, osr, ramsey_policy
|
||||||
//! Derivation order
|
//! Derivation order
|
||||||
/*! First initialized to zero. If user sets order option somewhere in the MOD file, it will be equal to the maximum of order options. Otherwise will default to 2 */
|
/*! First initialized to zero. If user sets order option somewhere in the MOD file, it will be equal to the maximum of order options. Otherwise will default to 2 */
|
||||||
|
|
Loading…
Reference in New Issue