Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
2b8869d6
Commit
2b8869d6
authored
Aug 08, 2012
by
Sébastien Villemot
Browse files
Compute static hessian for estimation w/ analytic derivation
parent
3efa38d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
preprocessor/ModFile.cc
View file @
2b8869d6
...
...
@@ -377,10 +377,11 @@ 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
();
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
);
const
bool
static_hessian
=
mod_file_struct
.
identification_present
||
mod_file_struct
.
estimation_analytic_derivation
;
static_model
.
computingPass
(
global_eval_context
,
no_tmp_terms
,
static_hessian
,
block
,
byte_code
);
}
// Set things to compute for dynamic model
if
(
mod_file_struct
.
simul_present
||
mod_file_struct
.
check_present
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment