aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/tutorial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial.cpp')
-rw-r--r--doc/tutorial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial.cpp b/doc/tutorial.cpp
index 2eec7be3e..38943ec50 100644
--- a/doc/tutorial.cpp
+++ b/doc/tutorial.cpp
@@ -12,7 +12,7 @@ int main(int, char **)
cout << "Here is a 2x2 matrix m:" << endl << m << endl;
cout << "Let us now build a 4x4 matrix m2 by assembling together four 2x2 blocks." << endl;
- MatrixXd m2(4,4); // dynamic matrix with initial size 4x4 and uninitialized entries
+ EiMatrixXd m2(4,4); // dynamic matrix with initial size 4x4 and uninitialized entries
// notice how we are mixing fixed-size and dynamic-size types.
cout << "In the top-left block, we put the matrix m shown above." << endl;