small fix

release/4.3a0
Varun Agrawal 2025-01-02 16:04:20 -05:00
parent d22ba29054
commit 02d9959033
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ static TableFactor TableProduct(const DiscreteFactorGraph &factors) {
product = product * (*f); product = product * (*f);
} else if (auto dtf = } else if (auto dtf =
std::dynamic_pointer_cast<DecisionTreeFactor>(factor)) { std::dynamic_pointer_cast<DecisionTreeFactor>(factor)) {
product = TableFactor(product * (*dtf)); product = product * TableFactor(*dtf);
} }
} }
} }