From e46cd5499351c67abd8c799d6ba317d37d21991e Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Mon, 9 Dec 2024 15:52:42 -0500 Subject: [PATCH] TableFactor cleanup --- gtsam/discrete/TableFactor.cpp | 2 -- gtsam/discrete/TableFactor.h | 1 - 2 files changed, 3 deletions(-) diff --git a/gtsam/discrete/TableFactor.cpp b/gtsam/discrete/TableFactor.cpp index a4947012e..32049fde1 100644 --- a/gtsam/discrete/TableFactor.cpp +++ b/gtsam/discrete/TableFactor.cpp @@ -72,9 +72,7 @@ TableFactor::TableFactor(const DiscreteKeys& dkeys, */ std::vector ComputeLeafOrdering(const DiscreteKeys& dkeys, const DecisionTreeFactor& dt) { - gttic_(ComputeLeafOrdering); std::vector probs = dt.probabilities(); - gttoc_(ComputeLeafOrdering); std::vector ordered; size_t n = dkeys[0].second; diff --git a/gtsam/discrete/TableFactor.h b/gtsam/discrete/TableFactor.h index ba1d05fe9..002c276ca 100644 --- a/gtsam/discrete/TableFactor.h +++ b/gtsam/discrete/TableFactor.h @@ -171,7 +171,6 @@ class GTSAM_EXPORT TableFactor : public DiscreteFactor { return apply(f, safe_div); } - /// Convert into a decisiontree DecisionTreeFactor toDecisionTreeFactor() const override;