Skip to content

Commit

Permalink
fix gcc werror
Browse files Browse the repository at this point in the history
  • Loading branch information
alifahrri committed Jul 13, 2024
1 parent 8377442 commit 3a5db34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/nmtools/array/view/group_norm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ namespace nmtools::index
&& !meta::is_fail_v<result_t>
) {
auto src_dim = len(src_shape);
[[maybe_unused]]
auto dst_dim = src_dim + 1;

if constexpr (meta::is_resizable_v<result_t>) {
Expand Down

0 comments on commit 3a5db34

Please sign in to comment.