diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-05-07 17:29:56 +0000 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-05-07 17:29:56 +0000 |
commit | 74ec8e6618c02a71dba28029b33dbe2a3f4da590 (patch) | |
tree | a3280fa9a9aaea0b002bd03cb72111fdaf73995b | |
parent | 49f1aeb60d9f759859fce0d16aa5d1ecc7168d51 (diff) |
Make size odd for transposeInPlace test to make sure we hit the scalar path.
-rw-r--r-- | test/array_cwise.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<typename ArrayType> 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()); |