# HG changeset patch # User Rik # Date 1306438813 25200 # Node ID abc71e3148ac886e8e86812b4e126154bb6f6e64 # Parent e7b03b8662a27f945e5ad988453e3a101c1134c7 geornd.m: Fix typo in 2-input calling form preventing execution. * geornd.m: Replace typo 'n' with input variable 'p'. diff -r e7b03b8662a2 -r abc71e3148ac scripts/statistics/distributions/geornd.m --- a/scripts/statistics/distributions/geornd.m Wed May 25 21:07:00 2011 -0700 +++ b/scripts/statistics/distributions/geornd.m Thu May 26 12:40:13 2011 -0700 @@ -60,7 +60,7 @@ error ("geornd: n must be scalar or of size SZ"); endif elseif (nargin == 1) - sz = size(n); + sz = size(p); elseif (nargin != 1) print_usage (); endif