small cleanup

release/4.3a0
Varun Agrawal 2023-07-05 11:04:56 -04:00
parent f6d42d0ee0
commit 53d00864bb
1 changed files with 1 additions and 2 deletions

View File

@ -146,8 +146,7 @@ std::function<double(const Assignment<Key> &, double)> prunerFunc(
/* ************************************************************************* */
void HybridBayesNet::updateDiscreteConditionals(
const DecisionTreeFactor &prunedDiscreteProbs) {
KeyVector prunedTreeKeys = prunedDiscreteProbs.keys();
//TODO(Varun) Should prune the joint conditional, maybe during elimination?
// Loop with index since we need it later.
for (size_t i = 0; i < this->size(); i++) {
HybridConditional::shared_ptr conditional = this->at(i);