aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/Cwise_less_equal.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-01-06 17:18:38 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-01-06 17:18:38 +0100
commit7d3fe69efff24ff41a81f0bbf3bd4b4906612579 (patch)
tree7063e4f1483ceba7f8569c397e13d8bf3dc0be6a /doc/snippets/Cwise_less_equal.cpp
parentc11300dbd52accc3724300854ede5df4b09ab2a6 (diff)
Various documentation updates:
- update the tutorial - update doc of deprecated cwise function - update cwise doc snippets
Diffstat (limited to 'doc/snippets/Cwise_less_equal.cpp')
-rw-r--r--doc/snippets/Cwise_less_equal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/snippets/Cwise_less_equal.cpp b/doc/snippets/Cwise_less_equal.cpp
index 3b7a68ece..1600e397e 100644
--- a/doc/snippets/Cwise_less_equal.cpp
+++ b/doc/snippets/Cwise_less_equal.cpp
@@ -1,2 +1,2 @@
-Vector3d v(1,2,3), w(3,2,1);
-cout << (v.cwise()<=w) << endl;
+Array3d v(1,2,3), w(3,2,1);
+cout << (v<=w) << endl;