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-bf33cf982152time-shift
parent
c188e1e1be
commit
59f3fa5185
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue