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 decompositiontime-shift
parent
944c19ab51
commit
6e555a1539
|
@ -156,12 +156,6 @@ if M_.maximum_endo_lead == 0
|
||||||
error(['2nd and 3rd order approximation not implemented for purely ' ...
|
error(['2nd and 3rd order approximation not implemented for purely ' ...
|
||||||
'backward models'])
|
'backward models'])
|
||||||
end
|
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
|
elseif options_.risky_steadystate
|
||||||
[dr,info] = dyn_risky_steadystate_solver(oo_.steady_state,M_,dr, ...
|
[dr,info] = dyn_risky_steadystate_solver(oo_.steady_state,M_,dr, ...
|
||||||
options_,oo_);
|
options_,oo_);
|
||||||
|
|
Loading…
Reference in New Issue