analytic_derivation and loglinear are incompatible

time-shift
Sébastien Villemot 2012-06-08 11:33:33 +02:00
parent c6086c2a59
commit c26a211827
1 changed files with 5 additions and 0 deletions

View File

@ -168,6 +168,11 @@ 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')
end
if nargout==1,
analytic_derivation=0;
end