Skip to content
Snippets Groups Projects
Commit 13a1ba27 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Set the SB status when adding it

parent cd681cc7
No related branches found
No related tags found
No related merge requests found
...@@ -289,6 +289,8 @@ void CeresManager::addStateBlock(const StateBlockPtr& state_ptr) ...@@ -289,6 +289,8 @@ void CeresManager::addStateBlock(const StateBlockPtr& state_ptr)
ceres_problem_->AddParameterBlock(getAssociatedMemBlockPtr(state_ptr), ceres_problem_->AddParameterBlock(getAssociatedMemBlockPtr(state_ptr),
state_ptr->getSize(), state_ptr->getSize(),
local_parametrization_ptr); local_parametrization_ptr);
updateStateBlockStatus(state_ptr);
} }
void CeresManager::removeStateBlock(const StateBlockPtr& state_ptr) void CeresManager::removeStateBlock(const StateBlockPtr& state_ptr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment