diff scripts/statistics/base/moment.m @ 5443:ec8c33dcd1bf

[project @ 2005-09-08 01:40:57 by jwe]
author jwe
date Thu, 08 Sep 2005 01:40:58 +0000
parents 2a16423e4aa0
children e9cde940b271
line wrap: on
line diff
--- a/scripts/statistics/base/moment.m	Wed Sep 07 21:42:26 2005 +0000
+++ b/scripts/statistics/base/moment.m	Thu Sep 08 01:40:58 2005 +0000
@@ -57,7 +57,7 @@
     opt = "";
     need_dim = 1;
   elseif (nargin == 3)
-    if (isstr (opt1))
+    if (ischar (opt1))
       opt = opt1;
       need_dim = 1;
     else
@@ -65,10 +65,10 @@
       opt = "";
     endif
   elseif (nargin == 4)
-    if (isstr (opt1))
+    if (ischar (opt1))
       opt = opt1;
       dim = opt2;
-    elseif (isstr (opt2))
+    elseif (ischar (opt2))
       opt = opt2;
       dim = opt1;
     else