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. --- doc/examples/class_Block.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/examples/class_Block.cpp') diff --git a/doc/examples/class_Block.cpp b/doc/examples/class_Block.cpp index 79cc314bf..03e5c28aa 100644 --- a/doc/examples/class_Block.cpp +++ b/doc/examples/class_Block.cpp @@ -18,7 +18,7 @@ topLeftCorner(const MatrixBase& m, int rows, int cols) int main(int, char**) { - Matrix4d m = Matrix4d::identity(); + Matrix4d m = Matrix4d::Identity(); cout << topLeftCorner(4*m, 2, 3) << endl; // calls the const version topLeftCorner(m, 2, 3) *= 5; // calls the non-const version cout << "Now the matrix m is:" << endl << m << endl; -- cgit v1.2.3