Skip to content

Conversation

garygra
Copy link
Contributor

@garygra garygra commented Aug 7, 2024

Addressing Issue #1596: When a derived Nonlinear Factor is not active, the linearization returns a nullptr (NonlinearFactor.cpp:156), which causes an error when EliminateSymbolic is called (SymbolicFactor-inst.h:45) because it does not check if the factor is nullptr.

A Non-active constraint returns a `nullptr`, which needs to be checked for when gathering the keys in `EliminateSymbolic`.
@ProfFan ProfFan self-assigned this Aug 10, 2024
@ProfFan ProfFan self-requested a review August 22, 2024 22:43
Copy link
Collaborator

@ProfFan ProfFan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is right, but I'll tag @dellaert for a 2nd check as symbolic is key part to all components of GTSAM.

@dellaert dellaert merged commit d94e50a into borglab:develop Aug 24, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants