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
ea762cda
Commit
ea762cda
authored
Dec 30, 2018
by
thomas.forbriger
Browse files
libtsxx [WP][FIX]: fix TimeSeriesCollection::are_consistent()
parent
38eba2d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/libtsxx/tscollection.h
View file @
ea762cda
...
...
@@ -66,7 +66,7 @@ namespace ts {
typedef
::
sff
::
WID2
Theader
;
typedef
ts
::
TimeSeries
<
Tseries
,
Theader
>
Ttimeseries
;
typedef
ts
::
TimeSeries
<
typename
Tseries
::
Tcoc
,
Theader
>
Tconsttimeseries
;
typedef
std
::
list
<
Ttimeseries
>
Tbase
;
typedef
std
::
vector
<
Ttimeseries
>
Tbase
;
//!@}
/*! \brief Check consistency
...
...
@@ -91,12 +91,13 @@ namespace ts {
bool
retval
=
true
;
if
(
this
->
size
()
>
1
)
{
Tbase
::
const_iterator
i_series
=
this
->
begin
();
typename
Tbase
::
const_iterator
i_series
=
this
->
begin
();
Theader
refheader
=
i_series
->
header
;
++
i_series
;
while
((
i_series
!=
this
->
end
())
&&
retval
)
{
retval
=
comparer
(
refheader
;
i_series
->
header
);
retval
=
comparer
(
refheader
,
i_series
->
header
);
++
i_series
;
}
}
return
(
retval
);
...
...
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