Skip to content
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

MixtureFactor continuous keys check #1289

Merged
merged 1 commit into from
Sep 13, 2022
Merged

Conversation

varunagrawal
Copy link
Collaborator

Add a check for the number of continuous keys in the MixtureFactor and verify that it is the same set of keys as in the factors passed in.

I encountered an issue where I wasn't passing in the full set of keys and the hybrid elimination fails due to the unspecified continuous key being present in the final discrete factor graph. There is no warning and I ended up spending hours debugging this, so hopefully no more. 🙂

@varunagrawal varunagrawal added the bugfix Fixes an issue or bug label Sep 12, 2022
@varunagrawal varunagrawal self-assigned this Sep 12, 2022
Base automatically changed from misc/fixes to develop September 13, 2022 16:15
@varunagrawal varunagrawal merged commit 0909c46 into develop Sep 13, 2022
@varunagrawal varunagrawal deleted the fix/mixture-factor branch September 13, 2022 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes an issue or bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants