Commit 6e555a15 authored by MichelJuillard's avatar MichelJuillard
Browse files

removed specialized code for solving purely forward models: it is true

that it is possible to derive the solution function by a simple
inversion, but this doesn't check that all eigenvalues are larger than
one. It is better to use the standard algorithm with QZ decomposition
parent 944c19ab
......@@ -156,12 +156,6 @@ if M_.maximum_endo_lead == 0
error(['2nd and 3rd order approximation not implemented for purely ' ...
'backward models'])
end
elseif M_.maximum_endo_lag == 0
% purely forward model
dr.ghx = [];
dr.ghu = -b\jacobia_(:,nz+1:end);
dr.eigval = [];
dr.rank = 0;
elseif options_.risky_steadystate
[dr,info] = dyn_risky_steadystate_solver(oo_.steady_state,M_,dr, ...
options_,oo_);
......
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