diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-08-23 17:33:31 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-08-23 17:33:31 -0400 |
commit | a848ed02ad51f3223e11d7c39b59b9e2c16b634f (patch) | |
tree | 5aa7891affb4641dc897814d99ebb3c7dc8153d4 /test | |
parent | 90735b6a9cc4c91eb41ef1d2b6828f15a7f4fba3 (diff) |
let createRandomMatrixOfRank support fixed-size!
Diffstat (limited to 'test')
-rw-r--r-- | test/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/main.h b/test/main.h index aa563252f..e3866c68b 100644 --- a/test/main.h +++ b/test/main.h @@ -231,7 +231,7 @@ template<typename MatrixType> void createRandomMatrixOfRank(int desired_rank, int rows, int cols, MatrixType& m) { typedef typename ei_traits<MatrixType>::Scalar Scalar; - typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, 1> VectorType; + typedef Matrix<Scalar, Dynamic, 1> VectorType; MatrixType a = MatrixType::Random(rows,rows); MatrixType d = MatrixType::Identity(rows,cols); |