Fixed bug in the definition of init when extracting a subsample with a vector of integers.
parent
66143e4749
commit
a8a9ec1957
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue