mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
Make size odd for transposeInPlace test to make sure we hit the scalar path.
This commit is contained in:
parent
49f1aeb60d
commit
74ec8e6618
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user