diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-07-21 00:34:46 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-07-21 00:34:46 +0000 |
commit | c10f069b6b9f0dd4bb313341d1969bd7e1cf9338 (patch) | |
tree | 95934f5bc632a391dfa149783226b1543b24ff41 /test/inverse.cpp | |
parent | ce425d92f1c1d199c8428c46b4c4ea3be81b137b (diff) |
* Merge Extract and Part to the Part expression.
Renamed "MatrixBase::extract() const" to "MatrixBase::part() const"
* Renamed static functions identity, zero, ones, random with an upper case
first letter: Identity, Zero, Ones and Random.
Diffstat (limited to 'test/inverse.cpp')
-rw-r--r-- | test/inverse.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/inverse.cpp b/test/inverse.cpp index 0324cd1ea..5614c987d 100644 --- a/test/inverse.cpp +++ b/test/inverse.cpp @@ -36,10 +36,10 @@ template<typename MatrixType> void inverse(const MatrixType& m) typedef typename MatrixType::Scalar Scalar; typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, 1> VectorType; - MatrixType m1 = MatrixType::random(rows, cols), - m2 = MatrixType::random(rows, cols), - mzero = MatrixType::zero(rows, cols), - identity = MatrixType::identity(rows, rows); + MatrixType m1 = MatrixType::Random(rows, cols), + m2 = MatrixType::Random(rows, cols), + mzero = MatrixType::Zero(rows, cols), + identity = MatrixType::Identity(rows, rows); m2 = m1.inverse(); VERIFY_IS_APPROX(m1, m2.inverse() ); |