Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
6eae1119
Commit
6eae1119
authored
May 12, 2013
by
Davis King
Browse files
A minor change to avoid a compiler warning
parent
736d662a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dlib/svm/sequence_segmenter.h
dlib/svm/sequence_segmenter.h
+4
-0
No files found.
dlib/svm/sequence_segmenter.h
View file @
6eae1119
...
...
@@ -188,6 +188,7 @@ namespace dlib
sequence_segmenter
()
{
#ifdef ENABLE_ASSERTS
const
feature_extractor
&
fe
=
labeler
.
get_feature_extractor
().
fe
;
DLIB_ASSERT
(
fe
.
window_size
()
>=
1
&&
fe
.
num_features
()
>=
1
,
"
\t
sequence_segmenter::sequence_segmenter()"
...
...
@@ -196,6 +197,7 @@ namespace dlib
<<
"
\n\t
fe.num_features(): "
<<
fe
.
num_features
()
<<
"
\n\t
this: "
<<
this
);
#endif
}
explicit
sequence_segmenter
(
...
...
@@ -203,6 +205,7 @@ namespace dlib
)
:
labeler
(
weights
)
{
#ifdef ENABLE_ASSERTS
const
feature_extractor
&
fe
=
labeler
.
get_feature_extractor
().
fe
;
// make sure requires clause is not broken
DLIB_ASSERT
(
total_feature_vector_size
(
fe
)
==
(
unsigned
long
)
weights
.
size
(),
...
...
@@ -219,6 +222,7 @@ namespace dlib
<<
"
\n\t
fe.num_features(): "
<<
fe
.
num_features
()
<<
"
\n\t
this: "
<<
this
);
#endif
}
sequence_segmenter
(
...
...
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