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
736d662a
Commit
736d662a
authored
May 12, 2013
by
Davis King
Browse files
Added missing assert
parent
832fb2cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
dlib/svm/sequence_segmenter.h
dlib/svm/sequence_segmenter.h
+7
-0
No files found.
dlib/svm/sequence_segmenter.h
View file @
736d662a
...
...
@@ -235,6 +235,13 @@ namespace dlib
<<
"
\n\t
weights.size(): "
<<
weights
.
size
()
<<
"
\n\t
this: "
<<
this
);
DLIB_ASSERT
(
fe
.
window_size
()
>=
1
&&
fe
.
num_features
()
>=
1
,
"
\t
sequence_segmenter::sequence_segmenter()"
<<
"
\n\t
An invalid feature extractor was supplied."
<<
"
\n\t
fe.window_size(): "
<<
fe
.
window_size
()
<<
"
\n\t
fe.num_features(): "
<<
fe
.
num_features
()
<<
"
\n\t
this: "
<<
this
);
}
const
feature_extractor
&
get_feature_extractor
(
...
...
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