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
f58b9b75
Commit
f58b9b75
authored
Aug 08, 2012
by
Sébastien Villemot
Browse files
Provide dynamic 3rd derivaties for estimation w/ analytic derivation
parent
2b8869d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
preprocessor/ModFile.cc
View file @
f58b9b75
...
...
@@ -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
);
}
...
...
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