Commit 18bd5195 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

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

parent 7357a231
......@@ -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
......
Markdown is supported
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