changeset 11608:e20f4ad90c7e release-3-0-x

[3-0-0-branch @ 2008-01-09 17:23:39 by jwe]
author jwe
date Wed, 09 Jan 2008 17:23:39 +0000
parents 5426a55a0cac
children c3d1d911dfa8
files doc/interpreter/dynamic.txi
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/dynamic.txi	Mon Jan 07 19:31:51 2008 +0000
+++ b/doc/interpreter/dynamic.txi	Wed Jan 09 17:23:39 2008 +0000
@@ -1635,7 +1635,7 @@
     @{
       for (octave_idx_type j = 0; j < n; j++)
         @{
-          a_matrix(row,column) = (i+1)*10 + (j+1);
+          a_matrix (i, j) = (i + 1) * 10 + (j + 1);
         @}
     @}
   std::cout << a_matrix;