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
686ee801
Commit
686ee801
authored
May 05, 2012
by
Davis King
Browse files
Just added some casts to avoid compiler warnings.
parent
b355951d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/svm/graph_labeler.h
dlib/svm/graph_labeler.h
+2
-2
No files found.
dlib/svm/graph_labeler.h
View file @
686ee801
...
...
@@ -75,7 +75,7 @@ namespace dlib
is_matrix
<
typename
graph_type
::
type
>::
value
)
{
// check that dot() is legal.
DLIB_ASSERT
(
get_node_weights
().
size
()
==
sample
.
node
(
i
).
data
.
size
(),
DLIB_ASSERT
(
(
unsigned
long
)
get_node_weights
().
size
()
==
(
unsigned
long
)
sample
.
node
(
i
).
data
.
size
(),
"
\t
void graph_labeler::operator()"
<<
"
\n\t
The size of the node weight vector must match the one in the node."
<<
"
\n\t
get_node_weights().size(): "
<<
get_node_weights
().
size
()
...
...
@@ -91,7 +91,7 @@ namespace dlib
is_matrix
<
typename
graph_type
::
edge_type
>::
value
)
{
// check that dot() is legal.
DLIB_ASSERT
(
get_edge_weights
().
size
()
==
sample
.
node
(
i
).
edge
(
n
).
size
(),
DLIB_ASSERT
(
(
unsigned
long
)
get_edge_weights
().
size
()
==
(
unsigned
long
)
sample
.
node
(
i
).
edge
(
n
).
size
(),
"
\t
void graph_labeler::operator()"
<<
"
\n\t
The size of the edge weight vector must match the one in graph's edge."
<<
"
\n\t
get_edge_weights().size(): "
<<
get_edge_weights
().
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