Commit 9d0f26ee authored by charlie's avatar charlie
Browse files

cppcheck fix

parent bc2cd59b
...@@ -95,7 +95,7 @@ has_one_unique_dyn_dim(const std::unordered_map<std::string, shape>& param_shape ...@@ -95,7 +95,7 @@ has_one_unique_dyn_dim(const std::unordered_map<std::string, shape>& param_shape
* Check the parameters in std::vector<dynamic_dimensions_check> object to see if any of the * Check the parameters in std::vector<dynamic_dimensions_check> object to see if any of the
* parameters outputs to a select_module operator. * parameters outputs to a select_module operator.
*/ */
bool any_sm_next(module_ref mm, const std::vector<dynamic_dimensions_check>& ddcs) bool any_sm_next(const_module_ref mm, const std::vector<dynamic_dimensions_check>& ddcs)
{ {
for(const auto& ddc : ddcs) for(const auto& ddc : ddcs)
{ {
......
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