Skip to content
Snippets Groups Projects
Commit 34e51111 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

initial_estimation_checks.m: Do not allow quadratic equation solver for non-quadratic problems

(cherry picked from commit 916058cb)
parent 370d9ffc
No related branches found
No related tags found
No related merge requests found
......@@ -169,6 +169,11 @@ if DynareOptions.debug
end
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 ~strcmp(func2str(objective_function),'dsge_likelihood')
% error('Options mode_compute=5 is not compatible with non linear filters or Dsge-VAR models!')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment