Provide dynamic 3rd derivaties for estimation w/ analytic derivation

time-shift
Sébastien Villemot 2012-08-08 15:34:43 +02:00
parent 2b8869d614
commit f58b9b755e
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ ModFile::computingPass(bool no_tmp_terms)
exit(EXIT_FAILURE);
}
bool hessian = mod_file_struct.order_option >= 2 || mod_file_struct.identification_present || mod_file_struct.estimation_analytic_derivation;
bool thirdDerivatives = mod_file_struct.order_option == 3;
bool thirdDerivatives = mod_file_struct.order_option == 3 || mod_file_struct.estimation_analytic_derivation;
bool paramsDerivatives = mod_file_struct.identification_present || mod_file_struct.estimation_analytic_derivation;
dynamic_model.computingPass(true, hessian, thirdDerivatives, paramsDerivatives, global_eval_context, no_tmp_terms, block, use_dll, byte_code);
}