-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core/adt: fix closedness issue related to sharing
A closedness issue could arise when a vertex was unified multiple times within the same node if this vertex was (initially) shared. Basically, the when a shared node was added again, it was dropped based on pointer equivalence. If then later this node was unshared, this node was no longer added, meaning that arcs could be missing from closedness information, causing arcs to be incorrectly defined as missing. We now ensure the node is added multiple times, just like when structure sharing is off, to ensure closedness data is correctly computed. Note that this also fixes issue 3527. This was not marked as problematic, as the original CL just fixed the panic. But the result was still incorrect. Fixes #3641 Fixes #3546 Issue #3527 Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: I9c248b0448ae1bcfcf4e4c1832397d73e8b02705 Dispatch-Trailer: {"type":"trybot","CL":1206823,"patchset":1,"ref":"refs/changes/23/1206823/1","targetBranch":"master"}
- Loading branch information
Showing
5 changed files
with
102 additions
and
322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.