Commit 59f3fa51 authored by michel's avatar michel
Browse files

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
parent c188e1e1
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment