Fixed bug (ensure that we concatenate column vectors).

time-shift
Stéphane Adjemian (Charybdis) 2017-04-29 19:20:02 +02:00
parent b52c095a6b
commit e1c983cc7b
1 changed files with 2 additions and 1 deletions

View File

@ -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);