strict less than check
parent
17cae8c453
commit
72306efe98
|
|
@ -271,7 +271,7 @@ DecisionTreeFactor TableFactor::toDecisionTreeFactor() const {
|
||||||
std::sort(
|
std::sort(
|
||||||
pair_table.begin(), pair_table.end(),
|
pair_table.begin(), pair_table.end(),
|
||||||
[](const std::pair<uint64_t, double>& a,
|
[](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;
|
std::cout << "Sorted pair_table:" << std::endl;
|
||||||
for (auto&& [k, v] : pair_table) {
|
for (auto&& [k, v] : pair_table) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue