未验证 提交 2b6fb9ba 编写于 作者: 石晓伟 提交者: GitHub

fix data type of asserts, test=develop (#2787)

上级 3fb309c3
...@@ -58,7 +58,7 @@ class StaticKernelPickPass : public mir::StmtPass { ...@@ -58,7 +58,7 @@ class StaticKernelPickPass : public mir::StmtPass {
const std::unordered_map<std::string, PrecisionType>& out_types, const std::unordered_map<std::string, PrecisionType>& out_types,
const std::vector<std::string>& in_names, const std::vector<std::string>& in_names,
const std::vector<std::string>& out_names) { const std::vector<std::string>& out_names) {
CHECK_GT(places.size(), 0) << "valid_places is empty."; CHECK_GT(places.size(), static_cast<size_t>(0)) << "valid_places is empty.";
float final_score{-1.}; float final_score{-1.};
Place winner_place{places[0]}; Place winner_place{places[0]};
const int kMax = const int kMax =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册