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

Merge branch 'feature/multithreading_patch' into 'devel'

Multi-threading patch

See merge request !259
parents 945d4509 d0149861
No related branches found
No related tags found
1 merge request!259Multi-threading patch
Pipeline #2752 passed
......@@ -79,6 +79,9 @@ void SolverManager::update()
// UPDATE STATE BLOCKS (state, fix or local parameterization)
for (auto state_ptr : wolf_problem_->getStateBlockPtrList())
{
if (state_blocks_.find(state_ptr)==state_blocks_.end())
continue;
assert(state_blocks_.find(state_ptr)!=state_blocks_.end() && "Updating the state of an unregistered StateBlock !");
// state update
......@@ -106,8 +109,8 @@ void SolverManager::update()
}
}
assert(wolf_problem_->getFactorNotificationMap().empty() && "wolf problem's factors notification map not empty after update");
assert(wolf_problem_->getStateBlockNotificationMap().empty() && "wolf problem's state_blocks notification map not empty after update");
//assert(wolf_problem_->getFactorNotificationMap().empty() && "wolf problem's factors notification map not empty after update");
//assert(wolf_problem_->getStateBlockNotificationMap().empty() && "wolf problem's state_blocks notification map not empty after update");
}
wolf::ProblemPtr SolverManager::getProblem()
......
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