Closed ArielG-NV closed 4 months ago
currently the code does:
void inclusiveJoinConjunction(CapabilitySharedContext& context, CapabilityConjunction& c, List<CapabilityConjunction>& toAddAfter) { if (c.isImpossible()) return; for (auto& conjunction : conjunctions) { if (c.implies(conjunction)) return; }
This is incorrect because it means that "if the set we are going to add is a super set of an element, don't add it".
correct behavior code:
void inclusiveJoinConjunction(CapabilitySharedContext& context, CapabilityConjunction& c, List<CapabilityConjunction>& toAddAfter) { if (c.isImpossible()) return; for (auto& conjunction : conjunctions) { if (conjunction.implies(c)) return; }
The correct behavior is "if the set we are going to add is a sub set of an element, ignore it"
currently the code does:
This is incorrect because it means that "if the set we are going to add is a super set of an element, don't add it".
correct behavior code:
The correct behavior is "if the set we are going to add is a sub set of an element, ignore it"