Skip to content
Snippets Groups Projects
Verified Commit 5f27c08c authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Sébastien Villemot
Browse files

dsge_likelihood.m: flag analytical_derivation as incompatible with endogenous_prior

(cherry picked from commit 0b0a4ef3)
parent 101a1869
Branches
Tags
No related merge requests found
Pipeline #7981 passed
......@@ -158,8 +158,13 @@ end
% Set flag related to analytical derivatives.
analytic_derivation = DynareOptions.analytic_derivation;
if analytic_derivation && DynareOptions.loglinear
error('The analytic_derivation and loglinear options are not compatible')
if analytic_derivation
if DynareOptions.loglinear
error('The analytic_derivation and loglinear options are not compatible')
end
if DynareOptions.endogenous_prior
error('The analytic_derivation and endogenous_prior options are not compatible')
end
end
if nargout==1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment