Skip to content
Snippets Groups Projects
Commit c1deac7f authored by sebastien's avatar sebastien
Browse files

4.1 branch: merged r3275 (added error message for 2nd or 3rd order...

4.1 branch: merged r3275 (added error message for 2nd or 3rd order approximation of purely backward models)

git-svn-id: https://www.dynare.org/svn/dynare/branches/4.1@3278 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 1a75a84c
Branches
Tags
No related merge requests found
......@@ -191,9 +191,13 @@ sdyn = M_.endo_nbr - nstatic;
b = zeros(M_.endo_nbr,M_.endo_nbr);
b(:,cols_b) = jacobia_(:,cols_j);
if M_.maximum_endo_lead == 0 && options_.order == 1
if M_.maximum_endo_lead == 0
% backward models: simplified code exist only at order == 1
% If required, use AIM solver if not check only
if options_.order > 1
error(['2nd and 3rd order approximation not implemented for purely ' ...
'backward models'])
end
if (options_.aim_solver == 1) && (task == 0)
if options_.order > 1
error('Option "aim_solver" is incompatible with order >= 2')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment