Skip to content

Commit

Permalink
fix gcc werrro
Browse files Browse the repository at this point in the history
  • Loading branch information
alifahrri committed Dec 15, 2024
1 parent c89dbf3 commit badd7ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nmtools/array/view/convnd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace nmtools::index
at(result,group_axis) = groups;
at(result,dst_inp_ch_axis) = at(src_shape,src_inp_ch_axis) / groups;

for (nm_size_t i=1; i<=n_planes; i++) {
for (nm_size_t i=1; i<=(nm_size_t)n_planes; i++) {
at(result,i+dst_inp_ch_axis) = at(src_shape,i+src_inp_ch_axis);
}
}
Expand Down

0 comments on commit badd7ac

Please sign in to comment.