use visitWith to not create a new tree

release/4.3a0
Varun Agrawal 2024-11-06 09:08:16 -05:00
parent a0f4955431
commit 8b968c1401
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ namespace gtsam {
};
// Go through the tree
this->apply(op);
this->visitWith(op);
return probs;
}