GCGraph::maxFlow ignores first non-terminal edge (Bug #1086)
Description
modules/imgproc/src/gcgraph.hpp
See for loops on line 195, 297 and 353:
for( ei = v->first; ei != 0; ei = edgePtr[ei].next )
First non-terminal edge added to the graph (edgesr0) is not processed by this loops.
Associated revisions
Merge pull request #1086 from melody-rain:2.4_fix_oclMat_constructor
History
Updated by Vadim Pisarevsky almost 14 years ago
- Status deleted (
Open)
Updated by Maria Dimashova almost 14 years ago
Many thanks for the patch. The same fixes have been made in r5325.
- Status set to Done
- (deleted custom field) set to fixed