Skip to content

Commit 0a704f2

Browse files
authored
Update common.h
1 parent 85dbd6d commit 0a704f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ int const NMS(const std::vector<T>& inputs, std::vector<T>* result,
5050
inputs_tmp.assign(inputs.begin(), inputs.end());
5151
std::sort(inputs_tmp.begin(), inputs_tmp.end(),
5252
[](const T& a, const T& b) {
53-
return a.score_ < b.score_;
53+
return a.score_ > b.score_;
5454
});
5555

5656
std::vector<int> indexes(inputs_tmp.size());

0 commit comments

Comments
 (0)