Skip to content

Commit

Permalink
fix mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
xhuohai committed Sep 10, 2024
1 parent 5157593 commit 805400b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Native/include/nncase/ntt/shape.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ template <class Index, class Strides>
constexpr size_t linear_offset(const Index &index,
const Strides &strides) noexcept {
size_t offset = 0;
if constexpr (index.rank() == 0 || strides.rank() == 0) {
if constexpr (Index::rank() == 0 || Strides::rank() == 0) {
return offset;
}

Expand Down

0 comments on commit 805400b

Please sign in to comment.