Skip to content

Fix a bug regarding old unloaded vessels #1278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 22, 2017

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Mar 21, 2017

Such vessels can exist, and their parts are not part of a PileUp so they don't have a tail, which breaks one of our invariants. The fix is to make sure that all parts are put in a singleton by PrepareToReportCollisions and to collect PileUps for all the vessels in FreeVesselsAndPartsAndCollectPileUps. This simplifies the code somewhat.

pleroy added 5 commits March 21, 2017 22:59

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
@eggrobin eggrobin added the LGTM label Mar 22, 2017
@eggrobin
Copy link
Member

retest this please

@eggrobin eggrobin merged commit 81a1c0a into mockingbirdnest:master Mar 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants