We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85dbd6d commit 0a704f2Copy full SHA for 0a704f2
1 file changed
src/common/common.h
@@ -50,7 +50,7 @@ int const NMS(const std::vector<T>& inputs, std::vector<T>* result,
50
inputs_tmp.assign(inputs.begin(), inputs.end());
51
std::sort(inputs_tmp.begin(), inputs_tmp.end(),
52
[](const T& a, const T& b) {
53
- return a.score_ < b.score_;
+ return a.score_ > b.score_;
54
});
55
56
std::vector<int> indexes(inputs_tmp.size());
0 commit comments