add curlyy brackets to for loop

release/4.3a0
Varun Agrawal 2022-10-13 10:13:43 -04:00
parent eacc888d20
commit 8c19f499a3
1 changed files with 3 additions and 2 deletions

View File

@ -59,8 +59,9 @@ void HybridGaussianISAM::updateInternal(
factors += newFactors;
// Add the orphaned subtrees
for (const sharedClique& orphan : *orphans)
factors += boost::make_shared<BayesTreeOrphanWrapper<Node> >(orphan);
for (const sharedClique& orphan : *orphans) {
factors += boost::make_shared<BayesTreeOrphanWrapper<Node>>(orphan);
}
// Get all the discrete keys from the factors
KeySet allDiscrete = factors.discreteKeys();