Commit 72436495 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

libtsxx [FIX]: set correct value of output samples

parent 27868581
......@@ -108,6 +108,7 @@ namespace ts {
ExceptionTimeWindowOutside);
Ttimeseries retval=Ttimeseries(Tseries(nsamples), hd);
retval.header.date=new_first;
retval.header.nsamples=nsamples;
retval.header.dt=libtime::time2double(dt);
TAbsoluteTime it=new_first;
for (int i=0; i<nsamples; ++i) { retval(i)=ip(it); it += dt; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment