initial_estimation_checks.m: Do not allow quadratic equation solver for non-quadratic problems
parent
b652b6d932
commit
916058cbfd
|
@ -185,6 +185,11 @@ if DynareOptions.debug
|
||||||
end
|
end
|
||||||
DynareOptions.analytic_derivation=ana_deriv;
|
DynareOptions.analytic_derivation=ana_deriv;
|
||||||
|
|
||||||
|
if DynareOptions.mode_compute==13
|
||||||
|
error('Options mode_compute=13 is only compatible with quadratic objective functions')
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
% if DynareOptions.mode_compute==5
|
% if DynareOptions.mode_compute==5
|
||||||
% if ~strcmp(func2str(objective_function),'dsge_likelihood')
|
% if ~strcmp(func2str(objective_function),'dsge_likelihood')
|
||||||
% error('Options mode_compute=5 is not compatible with non linear filters or Dsge-VAR models!')
|
% error('Options mode_compute=5 is not compatible with non linear filters or Dsge-VAR models!')
|
||||||
|
|
Loading…
Reference in New Issue