From 5eefca637e1c964426e8515b2493fbed816a789a Mon Sep 17 00:00:00 2001 From: Jitse Niesen Date: Fri, 17 Aug 2012 14:49:18 +0100 Subject: Documentation fixes. Thanks to Rodney Sparapani for reporting these. --- doc/examples/QuickStart_example2_dynamic.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/examples/QuickStart_example2_dynamic.cpp') diff --git a/doc/examples/QuickStart_example2_dynamic.cpp b/doc/examples/QuickStart_example2_dynamic.cpp index 672ac82e9..ff6746e21 100644 --- a/doc/examples/QuickStart_example2_dynamic.cpp +++ b/doc/examples/QuickStart_example2_dynamic.cpp @@ -6,10 +6,10 @@ using namespace std; int main() { - MatrixXf m = MatrixXf::Random(3,3); - m = (m + MatrixXf::Constant(3,3,1.2)) * 50; + MatrixXd m = MatrixXd::Random(3,3); + m = (m + MatrixXd::Constant(3,3,1.2)) * 50; cout << "m =" << endl << m << endl; - VectorXf v(3); + VectorXd v(3); v << 1, 2, 3; cout << "m * v =" << endl << m * v << endl; } -- cgit v1.2.3