Commit 1381564a authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3880 from vpisarev:fix_emd

parents 10e0540e b91313a8
......@@ -1152,6 +1152,7 @@ float cv::EMD( InputArray _signature1, InputArray _signature2,
{
_flow.create(signature1.rows, signature2.rows, CV_32F);
flow = _flow.getMat();
flow = Scalar::all(0);
_cflow = flow;
}
......
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