Commit af2dcb53 authored by wsttiger's avatar wsttiger
Browse files

Suppress cppcheck warning

parent 2ea9fc44
...@@ -312,7 +312,8 @@ struct cpu_concat ...@@ -312,7 +312,8 @@ struct cpu_concat
auto slice_shape = auto slice_shape =
shape{output_shape.type(), input.get_shape().lens(), output_shape.strides()}; shape{output_shape.type(), input.get_shape().lens(), output_shape.strides()};
auto slice = make_view(slice_shape, output.data() + coffsets[l]); auto slice = make_view(slice_shape, output.data() + coffsets[l]);
for(std::size_t i = 0; i < nelements; i++) // NOLINT // cppcheck-suppress useStlAlgorithm
for(std::size_t i = 0; i < nelements; i++)
{ {
slice[i] = input[i]; slice[i] = input[i];
} }
......
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