preprocessor: always compute the Dynamic hessian when "identification" keyword is present
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3003 ac1d8469-bf42-47a9-8791-bf33cf982152issue#70
parent
2f1382fab5
commit
04cec8a438
|
@ -197,7 +197,7 @@ ModFile::computingPass(bool no_tmp_terms)
|
|||
cerr << "ERROR: Incorrect order option..." << endl;
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
bool hessian = mod_file_struct.order_option >= 2;
|
||||
bool hessian = mod_file_struct.order_option >= 2 || mod_file_struct.identification_present;
|
||||
bool thirdDerivatives = mod_file_struct.order_option == 3;
|
||||
bool paramsDerivatives = mod_file_struct.identification_present;
|
||||
dynamic_model.computingPass(true, hessian, thirdDerivatives, paramsDerivatives, global_eval_context, no_tmp_terms, false, use_dll);
|
||||
|
|
Loading…
Reference in New Issue