Commit b4ba2fce authored by Davis King's avatar Davis King

Fixed a bug which triggered when using variable length matrices

as the feature vector type.
parent 560e5a46
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment