TableFactor cleanup

release/4.3a0
Varun Agrawal 2024-12-09 15:52:42 -05:00
parent 0de114f2bd
commit e46cd54993
2 changed files with 0 additions and 3 deletions

View File

@ -72,9 +72,7 @@ TableFactor::TableFactor(const DiscreteKeys& dkeys,
*/
std::vector<double> ComputeLeafOrdering(const DiscreteKeys& dkeys,
const DecisionTreeFactor& dt) {
gttic_(ComputeLeafOrdering);
std::vector<double> probs = dt.probabilities();
gttoc_(ComputeLeafOrdering);
std::vector<double> ordered;
size_t n = dkeys[0].second;

View File

@ -171,7 +171,6 @@ class GTSAM_EXPORT TableFactor : public DiscreteFactor {
return apply(f, safe_div);
}
/// Convert into a decisiontree
DecisionTreeFactor toDecisionTreeFactor() const override;