mirror of https://github.com/davisking/dlib.git
Fixed a bug which triggered when using variable length matrices
as the feature vector type.
This commit is contained in:
parent
560e5a4628
commit
b4ba2fce4b
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue