dsge_likelihood.m: flag analytical_derivation as incompatible with endogenous_prior
parent
f84753025d
commit
0b0a4ef386
|
@ -158,9 +158,14 @@ end
|
|||
% Set flag related to analytical derivatives.
|
||||
analytic_derivation = DynareOptions.analytic_derivation;
|
||||
|
||||
if analytic_derivation && DynareOptions.loglinear
|
||||
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
|
||||
analytic_derivation=0;
|
||||
|
|
Loading…
Reference in New Issue