analytic_derivation and loglinear are incompatible
parent
c6086c2a59
commit
c26a211827
|
@ -168,6 +168,11 @@ 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
|
||||||
|
error('The analytic_derivation and loglinear options are not compatible')
|
||||||
|
end
|
||||||
|
|
||||||
if nargout==1,
|
if nargout==1,
|
||||||
analytic_derivation=0;
|
analytic_derivation=0;
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue