https://llvm.org/bugs/show_bug.cgi?id=22993
Dimitry Andric <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from Dimitry Andric <[email protected]> --- You should write EDGE::operator() so that it returns true only if one element is less than another, not less than or equal. E.g, the semantics should be "<", not "<=": bool operator () (EDGE const& a, EDGE const& b) const { return a.c < b.c; } With that in place, the program will work as you expected. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
