Fixed bug in the definition of init when extracting a subsample with a vector of integers.

time-shift
Stéphane Adjemian (Charybdis) 2013-10-16 16:17:43 +02:00
parent 66143e4749
commit a8a9ec1957
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ switch S(1).type
B.vobs = A.vobs;
B.freq = A.freq;
B.time = builtin('subsref', A.time, S(1));
B.init = A.init+S(1).subs{1}(1);
B.init = B.time(1);
B.name = A.name;
B.tex = A.tex;
else