v4 parser: when ramseypolicy instruction is present one must compute derivatives

to one order more than the order of approximation of the solution


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1206 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
michel 2007-03-10 20:41:35 +00:00
parent c188e1e1be
commit 59f3fa5185
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ RamseyPolicyStatement::checkPass(ModFileStructure &mod_file_struct)
// Fill in option_order of mod_file_struct
OptionsList::num_options_type::const_iterator it = options_list.num_options.find("order");
if (it != options_list.num_options.end())
mod_file_struct.order_option = atoi(it->second.c_str());
mod_file_struct.order_option = atoi(it->second.c_str()) + 1;
}
void