@@ -786,7 +786,8 @@ ModFile::computingPass(bool no_tmp_terms, OutputType output, int params_derivs_o
exit(EXIT_FAILURE);
}
intderivsOrder=max(mod_file_struct.order_option,mod_file_struct.identification_order+1);// See preprocessor#40
if(mod_file_struct.GMM_present&&mod_file_struct.analytic_standard_errors_present)//analytic standard errors require one order more
if(mod_file_struct.GMM_present
&&(mod_file_struct.analytic_standard_errors_present||mod_file_struct.analytic_jacobian_present))//analytic_standard_errors or analytic_jacobian require one order more
derivsOrder=max(mod_file_struct.order_option,
max(mod_file_struct.identification_order,mod_file_struct.mom_order)+1);// See preprocessor#40
...
...
@@ -797,7 +798,7 @@ ModFile::computingPass(bool no_tmp_terms, OutputType output, int params_derivs_o