".github/git@developer.sourcefind.cn:zhaoyu6/sglang.git" did not exist on "f73aae0bfc3448109b13ec897fccb8d6cf6dea3e"
Commit a8dd3210 authored by wsttiger's avatar wsttiger
Browse files

Fixed clang-tidy / cppcheck issue

parent 3a3ae8b5
...@@ -185,7 +185,7 @@ struct onnx_parser ...@@ -185,7 +185,7 @@ struct onnx_parser
} }
if(contains(attributes, "is_test")) if(contains(attributes, "is_test"))
{ {
is_test = (parse_value(attributes.at("is_test")).at<uint64_t>() > 0) ? true : false; is_test = parse_value(attributes.at("is_test")).at<uint64_t>() > 0;
} }
if(contains(attributes, "spatial")) if(contains(attributes, "spatial"))
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment