Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
141a5148
Commit
141a5148
authored
Mar 02, 2015
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A minor change to avoid errors from some compilers.
parent
17ffc7d2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
kkmeans.h
dlib/svm/kkmeans.h
+2
-2
No files found.
dlib/svm/kkmeans.h
View file @
141a5148
...
@@ -425,10 +425,10 @@ namespace dlib
...
@@ -425,10 +425,10 @@ namespace dlib
sample_type
zero
(
centers
[
0
]);
sample_type
zero
(
centers
[
0
]);
set_all_elements
(
zero
,
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
// 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
;
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