Opened 15 years ago
Closed 15 years ago
#372 closed defect (fixed)
Critical bug in Elevator
Reported by: | Peter Kovacs | Owned by: | Balazs Dezso |
---|---|---|---|
Priority: | critical | Milestone: | LEMON 1.3 release |
Component: | core | Version: | hg main |
Keywords: | Cc: | ||
Revision id: |
Description
The attached code fails on the attached input file. It runs Preflow
for all node pairs, but for one of them, it gets in an infinite loop. Using LinkedElevator
, however, it works correctly, see the commented lines.
It seems that calling the deactivate()
function of Elevator
does not deactive the node, so it will be selected again as the highest active node.
Attachments (3)
Change History (5)
Changed 15 years ago by
Attachment: | preflow_bug.cpp added |
---|
Changed 15 years ago by
Attachment: | preflow_bug.lgf added |
---|
Changed 15 years ago by
Attachment: | 59b68d0e4dbd.patch added |
---|
comment:1 follow-up: 2 Changed 15 years ago by
I have uploaded the patch [59b68d0e4dbd], which fixes the bug.
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to deba:
I have uploaded the patch [59b68d0e4dbd], which fixes the bug.
Thanks. I rebased to the right place as [bb70ad62c95f] and merged into branches 1.1, 1.2 and main.
Fix in preflow