undo small change
parent
fe880826ac
commit
b8f5e8f352
|
@ -453,7 +453,7 @@ namespace gtsam {
|
||||||
/* ************************************************************************ */
|
/* ************************************************************************ */
|
||||||
double DecisionTreeFactor::computeThreshold(const size_t N) const {
|
double DecisionTreeFactor::computeThreshold(const size_t N) const {
|
||||||
// Set of all keys
|
// Set of all keys
|
||||||
KeySet allKeys = this->labels();
|
std::set<Key> allKeys = this->labels();
|
||||||
MinHeap min_heap;
|
MinHeap min_heap;
|
||||||
|
|
||||||
auto op = [&](const Assignment<Key>& a, double p) {
|
auto op = [&](const Assignment<Key>& a, double p) {
|
||||||
|
|
Loading…
Reference in New Issue