diff --git a/gtsam/discrete/DiscreteLookupDAG.h b/gtsam/discrete/DiscreteLookupDAG.h index 21181d374..7f31a3f48 100644 --- a/gtsam/discrete/DiscreteLookupDAG.h +++ b/gtsam/discrete/DiscreteLookupDAG.h @@ -61,8 +61,6 @@ class GTSAM_EXPORT DiscreteLookupTable : public DiscreteConditional { * @param nFrontals number of frontal variables * @param keys a sorted list of gtsam::Keys * @param potentials Discrete potentials as a TableFactor. - * - * //TODO(Varun): Should accept a DiscreteFactor::shared_ptr */ DiscreteLookupTable(size_t nFrontals, const DiscreteKeys& keys, const TableFactor& potentials) diff --git a/gtsam/discrete/TableFactor.cpp b/gtsam/discrete/TableFactor.cpp index 32049fde1..32cba84ed 100644 --- a/gtsam/discrete/TableFactor.cpp +++ b/gtsam/discrete/TableFactor.cpp @@ -180,10 +180,8 @@ DecisionTreeFactor TableFactor::toDecisionTreeFactor() const { for (auto i = 0; i < sparse_table_.size(); i++) { table.push_back(sparse_table_.coeff(i)); } - gttic_(toDecisionTreeFactor_Constructor); // NOTE(Varun): This constructor is really expensive!! DecisionTreeFactor f(dkeys, table); - gttoc_(toDecisionTreeFactor_Constructor); return f; }