aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/examples/class_FixedBlock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/class_FixedBlock.cpp')
-rw-r--r--doc/examples/class_FixedBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/class_FixedBlock.cpp b/doc/examples/class_FixedBlock.cpp
index e3e9532bc..2e0f285ad 100644
--- a/doc/examples/class_FixedBlock.cpp
+++ b/doc/examples/class_FixedBlock.cpp
@@ -18,7 +18,7 @@ topLeft2x2Corner(const MatrixBase<Derived>& m)
int main(int, char**)
{
- Matrix3d m = Matrix3d::identity();
+ Matrix3d m = Matrix3d::Identity();
cout << topLeft2x2Corner(4*m) << endl; // calls the const version
topLeft2x2Corner(m) *= 2; // calls the non-const version
cout << "Now the matrix m is:" << endl << m << endl;