Fixed bug (ensure that we concatenate column vectors).
parent
b52c095a6b
commit
e1c983cc7b
|
@ -32,10 +32,11 @@ else
|
||||||
data_mat=[];
|
data_mat=[];
|
||||||
for var_iter=1:length(varobs)
|
for var_iter=1:length(varobs)
|
||||||
try
|
try
|
||||||
data_mat=[data_mat data_file.(varobs{1,var_iter})];
|
data_mat=[data_mat vec(data_file.(varobs{1,var_iter}))];
|
||||||
catch
|
catch
|
||||||
error('makedataset: The variable %s does not have dimensions conformable with the previous one',varobs{1,var_iter});
|
error('makedataset: The variable %s does not have dimensions conformable with the previous one',varobs{1,var_iter});
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
data = dseries(data_mat,[],varobs);
|
data = dseries(data_mat,[],varobs);
|
Loading…
Reference in New Issue