mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix warning and remove checking of empty matrices (not supported by 3.2)
This commit is contained in:
@@ -44,26 +44,4 @@ void test_commainitializer()
|
||||
vec[2].transpose();
|
||||
VERIFY_IS_APPROX(m3, ref);
|
||||
|
||||
|
||||
// Check with empty matrices (bug #1242)
|
||||
{
|
||||
int const M = 0;
|
||||
int const N1 = 2;
|
||||
int const N2 = 1;
|
||||
|
||||
{
|
||||
Matrix<double, M, N1> A1;
|
||||
Matrix<double, M, N2> A2;
|
||||
Matrix<double, M, N1 + N2> B;
|
||||
B << A1, A2;
|
||||
}
|
||||
{
|
||||
Matrix<double, N1, M> A1;
|
||||
Matrix<double, N2, M> A2;
|
||||
Matrix<double, N1 + N2, M> B;
|
||||
B << A1,
|
||||
A2;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user