changeset 6016:bd22133332bd

[project @ 2006-10-02 13:48:46 by jwe]
author jwe
date Mon, 02 Oct 2006 13:48:47 +0000
parents a104f362b5d4
children b124a912d28b
files scripts/ChangeLog scripts/miscellaneous/doc.m scripts/statistics/distributions/exprnd.m
diffstat 3 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,11 @@
+2006-10-02  Thomas Weber  <thomas.weber.mail@gmail.com>
+
+	* miscellaneous/doc.m: Swap file and directory args to info.
+
+2006-10-01  Arno Onken  <whyly@gmx.net>
+
+	* statistics/distributions/exprnd.m: Fix typo.
+
 2006-09-30  Benjamin Lindner  <lindnerben@gmx.net>
 
 	* polynomial/ppval.m: Use .' instead of '.
--- a/scripts/miscellaneous/doc.m
+++ b/scripts/miscellaneous/doc.m
@@ -73,7 +73,7 @@
       info_file_name = info_file ();
     endif
 
-    cmd = sprintf ("\"%s\" --file \"%s\" --directory \"%s\"",
+    cmd = sprintf ("\"%s\" --directory \"%s\" --file \"%s\"",
 		   info_program (), info_dir, info_file_name);
 
     if (! isempty (fname))
--- a/scripts/statistics/distributions/exprnd.m
+++ b/scripts/statistics/distributions/exprnd.m
@@ -44,7 +44,7 @@
     sz = [r, c];
 
     if (any (size (l) != 1) && 
-	((length (size (nl)) != length (sz)) || any (size (l) != sz)))
+	(length (size (l)) != length (sz) || any (size (l) != sz)))
       error ("exprnd: lambda must be scalar or of size [r, c]");
     endif
   elseif (nargin == 2)