From 3abe12472ece589e223e5ee50a1da908c97dceb1 Mon Sep 17 00:00:00 2001 From: Charles Schlosser Date: Wed, 1 Mar 2023 14:31:13 +0000 Subject: [PATCH] fix signed shift test --- test/array_cwise.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/array_cwise.cpp b/test/array_cwise.cpp index 81ee57280..5d23d0395 100644 --- a/test/array_cwise.cpp +++ b/test/array_cwise.cpp @@ -1056,9 +1056,9 @@ struct signed_shift_test_impl { static constexpr size_t Size = sizeof(Scalar); static constexpr size_t MaxShift = (CHAR_BIT * Size) - 1; - template + template static inline std::enable_if_t<(N > MaxShift), void> run(const ArrayType& ) {} - template + template static inline std::enable_if_t<(N <= MaxShift), void> run(const ArrayType& m) { const Index rows = m.rows(); const Index cols = m.cols();