diff --git a/gtsam/discrete/DecisionTreeFactor.cpp b/gtsam/discrete/DecisionTreeFactor.cpp index 0396dc952..cfa5fa90c 100644 --- a/gtsam/discrete/DecisionTreeFactor.cpp +++ b/gtsam/discrete/DecisionTreeFactor.cpp @@ -453,7 +453,7 @@ namespace gtsam { /* ************************************************************************ */ double DecisionTreeFactor::computeThreshold(const size_t N) const { // Set of all keys - KeySet allKeys = this->labels(); + std::set allKeys = this->labels(); MinHeap min_heap; auto op = [&](const Assignment& a, double p) {