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
9ab8b8b0
Commit
9ab8b8b0
authored
Jan 19, 2015
by
Davis King
Browse files
minor change to avoid compiler warnings
parent
92c9c717
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/svm/structural_svm_problem.h
dlib/svm/structural_svm_problem.h
+2
-2
No files found.
dlib/svm/structural_svm_problem.h
View file @
9ab8b8b0
...
...
@@ -78,7 +78,7 @@ namespace dlib
if
(
is_matrix
<
feature_vector_type
>::
value
)
{
DLIB_CASSERT
(
psi
.
size
()
==
(
unsigned
long
)
prob
->
get_num_dimensions
(),
DLIB_CASSERT
(
(
long
)
psi
.
size
()
==
prob
->
get_num_dimensions
(),
"The dimensionality of your PSI vector doesn't match get_num_dimensions()"
);
}
}
...
...
@@ -136,7 +136,7 @@ namespace dlib
prob
->
separation_oracle
(
sample_idx
,
current_solution
,
out_loss
,
out_psi
);
if
(
is_matrix
<
feature_vector_type
>::
value
)
{
DLIB_CASSERT
(
out_psi
.
size
()
==
(
unsigned
long
)
prob
->
get_num_dimensions
(),
DLIB_CASSERT
(
(
long
)
out_psi
.
size
()
==
prob
->
get_num_dimensions
(),
"The dimensionality of your PSI vector doesn't match get_num_dimensions()"
);
}
...
...
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