Merge pull request #5866 from Dikay900:patch-2

This commit is contained in:
Alexander Alekhin 2015-12-23 16:14:53 +00:00
commit a4aeba37fb

View File

@ -170,6 +170,7 @@ public:
if( _outputs.fixedType() )
ptype = _outputs.type();
_outputs.create(samples.rows, nclusters, ptype);
probs = _outputs.getMat();
}
else
nsamples = std::min(nsamples, 1);