Commit 6b2555f0 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

smoother2histval: fix computation of data length

parent a0d02706
......@@ -121,7 +121,7 @@ else
end
% Determine number of periods
n = size(smoothedvars.(tmp{1}));
n = length(smoothedvars.(tmp{1}));
if n < M_.maximum_endo_lag
error('Not enough observations to create initial conditions')
......
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