changeset 12693:abc71e3148ac stable

geornd.m: Fix typo in 2-input calling form preventing execution. * geornd.m: Replace typo 'n' with input variable 'p'.
author Rik <octave@nomad.inbox5.com>
date Thu, 26 May 2011 12:40:13 -0700
parents e7b03b8662a2
children e09860581a7c
files scripts/statistics/distributions/geornd.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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