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
141a5148
Commit
141a5148
authored
Mar 02, 2015
by
Davis King
Browse files
A minor change to avoid errors from some compilers.
parent
17ffc7d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/svm/kkmeans.h
dlib/svm/kkmeans.h
+2
-2
No files found.
dlib/svm/kkmeans.h
View file @
141a5148
...
...
@@ -425,10 +425,10 @@ namespace dlib
sample_type
zero
(
centers
[
0
]);
set_all_elements
(
zero
,
0
);
std
::
vector
<
unsigned
long
,
alloc
>
center_element_count
;
std
::
vector
<
unsigned
long
>
center_element_count
;
// tells which center a sample belongs to
std
::
vector
<
unsigned
long
,
alloc
>
assignments
(
samples
.
size
(),
samples
.
size
());
std
::
vector
<
unsigned
long
>
assignments
(
samples
.
size
(),
samples
.
size
());
unsigned
long
iter
=
0
;
...
...
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