Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Seitosh
Seitosh
Commits
72436495
Commit
72436495
authored
Nov 08, 2017
by
thomas.forbriger
Browse files
libtsxx [FIX]: set correct value of output samples
parent
27868581
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/libtsxx/ipo.cc
View file @
72436495
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment