From 74ec8e6618c02a71dba28029b33dbe2a3f4da590 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Thu, 7 May 2020 17:29:56 +0000 Subject: Make size odd for transposeInPlace test to make sure we hit the scalar path. --- test/array_cwise.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/array_cwise.cpp b/test/array_cwise.cpp index 950cc9650..b3fb59bc8 100644 --- a/test/array_cwise.cpp +++ b/test/array_cwise.cpp @@ -496,7 +496,7 @@ template void array_complex(const ArrayType& m) m2.transposeInPlace(); VERIFY_IS_APPROX(m2, m1); // Check vectorized inplace transpose. - ArrayType m5 = ArrayType::Random(130, 130); + ArrayType m5 = ArrayType::Random(131, 131); ArrayType m6 = m5; m6.transposeInPlace(); VERIFY_IS_APPROX(m6, m5.transpose()); -- cgit v1.2.3