From f0238cfb6997c4acfc2bd200de7295f3fa36968f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 3 Mar 2019 21:09:10 +0100 Subject: don't index Eigen --- eigen/doc/snippets/Matrix_resize_int.cpp | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 eigen/doc/snippets/Matrix_resize_int.cpp (limited to 'eigen/doc/snippets/Matrix_resize_int.cpp') diff --git a/eigen/doc/snippets/Matrix_resize_int.cpp b/eigen/doc/snippets/Matrix_resize_int.cpp deleted file mode 100644 index 044c789..0000000 --- a/eigen/doc/snippets/Matrix_resize_int.cpp +++ /dev/null @@ -1,6 +0,0 @@ -VectorXd v(10); -v.resize(3); -RowVector3d w; -w.resize(3); // this is legal, but has no effect -cout << "v: " << v.rows() << " rows, " << v.cols() << " cols" << endl; -cout << "w: " << w.rows() << " rows, " << w.cols() << " cols" << endl; -- cgit v1.2.3