Skip to content
Snippets Groups Projects
Commit a46d5745 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

hotfix removing debugging asserts

parent 65f28333
1 merge request!368Resolve "Ceres assertion raised"
Pipeline #5483 passed
......@@ -140,7 +140,6 @@ void SolverManager::addFactor(const FactorBasePtr& fac_ptr)
WOLF_WARN("SolverManager::addFactor(): Factor ", fac_ptr->id(), " is notified to ADD but the involved state block ", st, " is not. Skipping, will be added later.");
// put back notification in problem (will be added next update() call) and do nothing
wolf_problem_->notifyFactor(fac_ptr, ADD);
assert(false);
return;
}
......@@ -234,7 +233,6 @@ void SolverManager::removeStateBlock(const StateBlockPtr& state_ptr)
for (auto fac : state_blocks_2_factors_.at(state_ptr))
WOLF_INFO(fac->id());
wolf_problem_->notifyStateBlock(state_ptr, REMOVE);
assert(false);
return;
}
......
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