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
b4ba2fce
Commit
b4ba2fce
authored
Dec 11, 2011
by
Davis King
Browse files
Fixed a bug which triggered when using variable length matrices
as the feature vector type.
parent
560e5a46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
dlib/svm/structural_svm_assignment_problem.h
dlib/svm/structural_svm_assignment_problem.h
+1
-0
No files found.
dlib/svm/structural_svm_assignment_problem.h
View file @
b4ba2fce
...
...
@@ -94,6 +94,7 @@ namespace dlib
)
const
{
typename
feature_extractor
::
feature_vector_type
feats
;
psi
.
set_size
(
fe
.
num_features
());
psi
=
0
;
for
(
unsigned
long
i
=
0
;
i
<
sample
.
first
.
size
();
++
i
)
{
...
...
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