diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-03-30 18:43:22 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-03-30 18:43:22 +0000 |
commit | f279162ec4f01ecec8fa37eae02757720e16e65b (patch) | |
tree | 34938443dd2eb8a59b98f94ce1544d4c46587fcd /test/basicstuff.cpp | |
parent | 758b26551a01894f76c8376f11ac9fd3c13d0844 (diff) |
* introducte recursive Flags system for the expressions
-- currently 3 flags: RowMajor, Lazy and Large
-- only RowMajor actually used for now
* many minor improvements
Diffstat (limited to 'test/basicstuff.cpp')
-rw-r--r-- | test/basicstuff.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/basicstuff.cpp b/test/basicstuff.cpp index 5e79ec21c..ac87738cc 100644 --- a/test/basicstuff.cpp +++ b/test/basicstuff.cpp @@ -76,8 +76,8 @@ template<typename MatrixType> void basicStuff(const MatrixType& m) square.col(r) = square.row(r).eval(); Matrix<Scalar, 1, MatrixType::RowsAtCompileTime> rv(rows); Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> cv(rows); - rv = square.col(r); - cv = square.row(r); + rv = square.row(r); + cv = square.col(r); VERIFY_IS_APPROX(rv, cv.transpose()); if(cols!=1 && rows!=1 && MatrixType::SizeAtCompileTime!=Dynamic) |