update pruning comment

release/4.3a0
Varun Agrawal 2024-10-06 11:07:02 -04:00
parent acccef8024
commit 310c4ffae9
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ HybridBayesNet HybridBayesNet::prune(size_t maxNrLeaves) const {
// per pruned Discrete joint.
for (auto &&conditional : *this) {
if (auto hgc = conditional->asHybrid()) {
// Make a copy of the hybrid Gaussian conditional and prune it!
// Prune the hybrid Gaussian conditional!
auto prunedHybridGaussianConditional = hgc->prune(pruned);
// Type-erase and add to the pruned Bayes Net fragment.