aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/Cwise_quotient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/snippets/Cwise_quotient.cpp')
-rw-r--r--doc/snippets/Cwise_quotient.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/snippets/Cwise_quotient.cpp b/doc/snippets/Cwise_quotient.cpp
index 9ad204491..7cb9f7f2a 100644
--- a/doc/snippets/Cwise_quotient.cpp
+++ b/doc/snippets/Cwise_quotient.cpp
@@ -1,2 +1,2 @@
-Vector3d v(2,3,4), w(4,2,3);
-cout << v.cwise()/w << endl;
+Array3d v(2,3,4), w(4,2,3);
+cout << v/w << endl;