changeset 20606:1b62fc4e1b2f stable

doc: Cuddle parentheses in example code of for loop. * stmt.txi: Cuddle parentheses in example code of for loop.
author Rik <rik@octave.org>
date Wed, 07 Oct 2015 14:41:39 -0700
parents c6059134f5d3
children db3286201347
files doc/interpreter/stmt.txi
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/stmt.txi	Wed Oct 07 09:45:44 2015 -0700
+++ b/doc/interpreter/stmt.txi	Wed Oct 07 14:41:39 2015 -0700
@@ -541,7 +541,7 @@
 @group
 fib = ones (1, 10);
 for i = 3:10
-  fib (i) = fib (i-1) + fib (i-2);
+  fib(i) = fib(i-1) + fib(i-2);
 endfor
 @end group
 @end example