From 805400b772722079efa5e15dfcaf361847a87f30 Mon Sep 17 00:00:00 2001 From: huochenghai Date: Tue, 10 Sep 2024 10:58:46 +0800 Subject: [PATCH] fix mac build --- src/Native/include/nncase/ntt/shape.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Native/include/nncase/ntt/shape.h b/src/Native/include/nncase/ntt/shape.h index a907f73519..895c96de0f 100644 --- a/src/Native/include/nncase/ntt/shape.h +++ b/src/Native/include/nncase/ntt/shape.h @@ -225,7 +225,7 @@ template 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; }