Fixed a bug which triggered when using variable length matrices

as the feature vector type.
This commit is contained in:
Davis King 2011-12-11 14:37:57 -05:00
parent 560e5a4628
commit b4ba2fce4b
1 changed files with 1 additions and 0 deletions

View File

@ -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)
{