Commit 67d87548 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge pull request #428 from JohannesPfeifer/k_order_backward

Add check for purely backwards model to k_order_pert
parents 0eca4535 2eb43cf2
......@@ -30,6 +30,10 @@ nspred = M.nspred;
if order>1 && options.loglinear
error('The loglinear-option currently only works at order 1')
end
if M.maximum_endo_lead == 0 && order>1
error(['2nd and 3rd order approximation not implemented for purely ' ...
'backward models'])
end
switch(order)
case 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