From 7d3fe69efff24ff41a81f0bbf3bd4b4906612579 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 6 Jan 2010 17:18:38 +0100 Subject: Various documentation updates: - update the tutorial - update doc of deprecated cwise function - update cwise doc snippets --- doc/snippets/Cwise_sqrt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/snippets/Cwise_sqrt.cpp') diff --git a/doc/snippets/Cwise_sqrt.cpp b/doc/snippets/Cwise_sqrt.cpp index 2b825b47d..97bafe8b3 100644 --- a/doc/snippets/Cwise_sqrt.cpp +++ b/doc/snippets/Cwise_sqrt.cpp @@ -1,2 +1,2 @@ -Vector3d v(1,2,4); -cout << v.cwise().sqrt() << endl; +Array3d v(1,2,4); +cout << v.sqrt() << endl; -- cgit v1.2.3