mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-23 18:20:47 +08:00
Extend unit test to stress smart_copy with empty input/output.
This commit is contained in:
parent
6fa35bbd28
commit
2af04f1a57
@ -38,7 +38,7 @@ template<typename MatrixType> void zeroSizedMatrix()
|
|||||||
if (MatrixType::RowsAtCompileTime == Dynamic && MatrixType::ColsAtCompileTime == Dynamic)
|
if (MatrixType::RowsAtCompileTime == Dynamic && MatrixType::ColsAtCompileTime == Dynamic)
|
||||||
{
|
{
|
||||||
|
|
||||||
MatrixType t2(0, 0);
|
MatrixType t2(0, 0), t3(t1);
|
||||||
VERIFY(t2.rows() == 0);
|
VERIFY(t2.rows() == 0);
|
||||||
VERIFY(t2.cols() == 0);
|
VERIFY(t2.cols() == 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user