changeset 11882:7f07a6cc41ae release-3-0-x

chi2rnd.m: fix missing semicolon
author John W. Eaton <jwe@octave.org>
date Thu, 13 Nov 2008 19:02:16 +0100
parents 32de72e0b179
children a0b28e51e3d2
files scripts/ChangeLog scripts/statistics/distributions/chi2rnd.m
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-13  John W. Eaton  <jwe@octave.org>
+
+	* statistics/distributions/chi2rnd.m: Fix another missing semicolon.
+	From sven.mattisson@insatnet.nu.
+
 2008-10-08  John W. Eaton  <jwe@octave.org>
 
 	* miscellaneous/fileparts.m: Handle "/file" properly.
--- a/scripts/statistics/distributions/chi2rnd.m
+++ b/scripts/statistics/distributions/chi2rnd.m
@@ -84,7 +84,7 @@
 
     k = find ((n > 0) & (n < Inf));
     if (any (k))
-      rnd(k) = 2 * randg(n(k)/2, size(k))
+      rnd(k) = 2 * randg(n(k)/2, size(k));
     endif
   endif