avoid crash in cvCalcEMD() when one of the histograms has only one non-zero element...
authorVadim Pisarevsky <no@email>
Thu, 29 Jul 2010 11:00:52 +0000 (11:00 +0000)
committerVadim Pisarevsky <no@email>
Thu, 29 Jul 2010 11:00:52 +0000 (11:00 +0000)
commit62fa7f662078613da8ef3b38da5e2a8ef58ca821
tree1d86eb92fc54787251d879bce3e94d39b3a8f3b4
parent0faa75da1179ffaa9bd930d75f6eeabbd0968eb4
avoid crash in cvCalcEMD() when one of the histograms has only one non-zero element (ticket #396). Thanks to nburrus for the patch
modules/imgproc/src/emd.cpp