Commit 1ba2286c authored by Philip's avatar Philip

fix uninitialized matrix in EM::predict fixes #5443

fixes #5443
parent f550ddb3
......@@ -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);
......
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