Skip to content

Commit 58a652e

Browse files
authored
Apply hotfix for clang-format (#211)
Issue introduced in #210
1 parent bddbfda commit 58a652e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/layers/OutputLayer.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ std::pair<std::vector<std::string>, std::vector<ValueType>> top_k_vec(
104104
for (size_t i = 0; i < input.size(); i++) {
105105
sort_buf[i] = std::make_pair(labels[i], input[i]);
106106
}
107-
std::partial_sort(sort_buf.begin(), sort_buf.begin() + k, sort_buf.end(), compare_pair<ValueType>);
107+
std::partial_sort(sort_buf.begin(), sort_buf.begin() + k, sort_buf.end(),
108+
compare_pair<ValueType>);
108109
std::vector<std::string> res_labels(k);
109110
std::vector<ValueType> res_input(k);
110111
for (size_t i = 0; i < k; i++) {

0 commit comments

Comments
 (0)