Explicit error message for 2nd and 3rd order purely forward models
parent
505ed643a1
commit
153f627dfe
|
@ -254,6 +254,10 @@ if M_.maximum_endo_lead == 0
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if M_.maximum_endo_lag == 0 && options_.order > 1
|
||||||
|
error(['2nd and 3rd order approximation not implemented for purely forward models'])
|
||||||
|
end
|
||||||
|
|
||||||
%forward--looking models
|
%forward--looking models
|
||||||
if nstatic > 0
|
if nstatic > 0
|
||||||
[Q,R] = qr(b(:,1:nstatic));
|
[Q,R] = qr(b(:,1:nstatic));
|
||||||
|
|
Loading…
Reference in New Issue