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
27136609
"git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "480eec2989e922aed2a0e6fe6add62c9d6c47321"
Commit
27136609
authored
Feb 01, 2014
by
Davis King
Browse files
Fixed typo in assert that prevented it from compiling
parent
97dc7f2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/svm/kkmeans.h
dlib/svm/kkmeans.h
+1
-1
No files found.
dlib/svm/kkmeans.h
View file @
27136609
...
@@ -491,7 +491,7 @@ namespace dlib
...
@@ -491,7 +491,7 @@ namespace dlib
)
)
{
{
// make sure requires clause is not broken
// make sure requires clause is not broken
DLIB_ASSERT
(
centers
.
size
()
>
0
&&
sample
s
.
size
()
>
0
&&
is_vector
(
sample
),
DLIB_ASSERT
(
centers
.
size
()
>
0
&&
sample
.
size
()
>
0
&&
is_vector
(
sample
),
"
\t
unsigned long nearest_center()"
"
\t
unsigned long nearest_center()"
<<
"
\n\t
You have given invalid inputs to this function."
<<
"
\n\t
You have given invalid inputs to this function."
<<
"
\n\t
centers.size(): "
<<
centers
.
size
()
<<
"
\n\t
centers.size(): "
<<
centers
.
size
()
...
...
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