From c10f069b6b9f0dd4bb313341d1969bd7e1cf9338 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 21 Jul 2008 00:34:46 +0000 Subject: * 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. --- test/adjoint.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'test/adjoint.cpp') diff --git a/test/adjoint.cpp b/test/adjoint.cpp index cfcf1f0a5..835af5e64 100644 --- a/test/adjoint.cpp +++ b/test/adjoint.cpp @@ -35,18 +35,18 @@ template void adjoint(const MatrixType& m) int rows = m.rows(); int cols = m.cols(); - MatrixType m1 = MatrixType::random(rows, cols), - m2 = MatrixType::random(rows, cols), + MatrixType m1 = MatrixType::Random(rows, cols), + m2 = MatrixType::Random(rows, cols), m3(rows, cols), - mzero = MatrixType::zero(rows, cols), + mzero = MatrixType::Zero(rows, cols), identity = Matrix - ::identity(rows, rows), + ::Identity(rows, rows), square = Matrix - ::random(rows, rows); - VectorType v1 = VectorType::random(rows), - v2 = VectorType::random(rows), - v3 = VectorType::random(rows), - vzero = VectorType::zero(rows); + ::Random(rows, rows); + VectorType v1 = VectorType::Random(rows), + v2 = VectorType::Random(rows), + v3 = VectorType::Random(rows), + vzero = VectorType::Zero(rows); Scalar s1 = ei_random(), s2 = ei_random(); -- cgit v1.2.3