diff --git a/gtsam/discrete/TableFactor.cpp b/gtsam/discrete/TableFactor.cpp index 0a93e7b5d..d9bfc42c2 100644 --- a/gtsam/discrete/TableFactor.cpp +++ b/gtsam/discrete/TableFactor.cpp @@ -262,8 +262,6 @@ DecisionTreeFactor TableFactor::toDecisionTreeFactor() const { // k will be in reverse key order already uint64_t k; ss >> k; - std::cout << "ss: " << ss.str() << ", k=" << k - << ", v=" << sparse_table_.coeff(i) << std::endl; pair_table.push_back(std::make_pair(k, sparse_table_.coeff(i))); } @@ -273,10 +271,6 @@ DecisionTreeFactor TableFactor::toDecisionTreeFactor() const { [](const std::pair& a, const std::pair& b) { return a.first < b.first; }); - std::cout << "Sorted pair_table:" << std::endl; - for (auto&& [k, v] : pair_table) { - std::cout << "k=" << k << ", v=" << v << std::endl; - } // Create the table vector std::vector table; std::for_each(pair_table.begin(), pair_table.end(),