Commit d32653a5 authored by wsttiger's avatar wsttiger
Browse files

fix for cppcheck

parent d771f6b5
...@@ -777,7 +777,7 @@ struct multibroadcast ...@@ -777,7 +777,7 @@ struct multibroadcast
auto t = inputs.at(0).type(); auto t = inputs.at(0).type();
auto input = inputs.at(0); auto input = inputs.at(0);
if(input.lens().size() <= 0) if(input.lens().empty())
MIGRAPH_THROW("inputs dimensions should be > 0"); MIGRAPH_THROW("inputs dimensions should be > 0");
if(input.lens().size() > output_lens.size()) if(input.lens().size() > output_lens.size())
......
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