Commit 9f57f73d authored by michel's avatar michel
Browse files

4.1: shortcircuit simplified code for backward models when order > 1


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3243 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 28f5c66f
......@@ -191,7 +191,8 @@ function [dr,info,M_,options_,oo_] = dr1(dr,task,M_,options_,oo_)
b = zeros(M_.endo_nbr,M_.endo_nbr);
b(:,cols_b) = jacobia_(:,cols_j);
if M_.maximum_endo_lead == 0; % backward models
if M_.maximum_endo_lead == 0 && options_.order == 1
% backward models: simplified code exist only at order == 1
% If required, use AIM solver if not check only
if (options_.aim_solver == 1) && (task == 0)
if options_.order > 1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment