strict less than check

release/4.3a0
Varun Agrawal 2024-12-16 18:20:16 -05:00
parent 17cae8c453
commit 72306efe98
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ DecisionTreeFactor TableFactor::toDecisionTreeFactor() const {
std::sort(
pair_table.begin(), pair_table.end(),
[](const std::pair<uint64_t, double>& a,
const std::pair<uint64_t, double>& b) { return a.first <= b.first; });
const std::pair<uint64_t, double>& b) { return a.first < b.first; });
std::cout << "Sorted pair_table:" << std::endl;
for (auto&& [k, v] : pair_table) {