output derivatives of static model when identification is present (closes #127)

issue#70
Houtan Bastani 2011-08-18 17:23:09 +02:00
parent 5c48733f55
commit ab589aaaa8
1 changed files with 4 additions and 1 deletions

View File

@ -362,7 +362,10 @@ ModFile::computingPass(bool no_tmp_terms)
|| mod_file_struct.estimation_present || mod_file_struct.osr_present
|| mod_file_struct.ramsey_policy_present || mod_file_struct.identification_present)
static_model.set_cutoff_to_zero();
static_model.computingPass(global_eval_context, no_tmp_terms, false, block, byte_code);
if (mod_file_struct.identification_present)
static_model.computingPass(global_eval_context, no_tmp_terms, true, block, byte_code);
else
static_model.computingPass(global_eval_context, no_tmp_terms, false, block, byte_code);
}
// Set things to compute for dynamic model
if (mod_file_struct.simul_present || mod_file_struct.check_present