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