dsge_likelihood.m: flag analytical_derivation as incompatible with endogenous_prior
parent
f84753025d
commit
0b0a4ef386
|
@ -158,8 +158,13 @@ end
|
||||||
% Set flag related to analytical derivatives.
|
% Set flag related to analytical derivatives.
|
||||||
analytic_derivation = DynareOptions.analytic_derivation;
|
analytic_derivation = DynareOptions.analytic_derivation;
|
||||||
|
|
||||||
if analytic_derivation && DynareOptions.loglinear
|
if analytic_derivation
|
||||||
error('The analytic_derivation and loglinear options are not compatible')
|
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
|
end
|
||||||
|
|
||||||
if nargout==1
|
if nargout==1
|
||||||
|
|
Loading…
Reference in New Issue