changeset 29432:4017cefe8374

maint: merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 12 Mar 2021 19:12:04 +0100
parents 382162e18fa8 (current diff) d07e1eeceead (diff)
children 8811d8274118
files
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/geometry.txi	Thu Mar 11 09:08:54 2021 -0800
+++ b/doc/interpreter/geometry.txi	Fri Mar 12 19:12:04 2021 +0100
@@ -62,9 +62,9 @@
 
 @example
 @group
-rand ("state", 2);
-x = rand (10, 1);
-y = rand (10, 1);
+rand ("state", 1);
+x = rand (1, 10);
+y = rand (1, 10);
 T = delaunay (x, y);
 X = [ x(T(:,1)); x(T(:,2)); x(T(:,3)); x(T(:,1)) ];
 Y = [ y(T(:,1)); y(T(:,2)); y(T(:,3)); y(T(:,1)) ];