diff scripts/linear-algebra/cond.m @ 7768:a2d9f325b65a

Use isschar instead of deprecated isstr
author Rafael Laboissiere <rafael@debian.org>
date Sat, 03 May 2008 11:47:54 +0200
parents e7485946272b
children e07e93c04080
line wrap: on
line diff
--- a/scripts/linear-algebra/cond.m
+++ b/scripts/linear-algebra/cond.m
@@ -40,7 +40,7 @@
       p = 2;
     endif
 
-    if (! isstr (p) && p == 2)
+    if (! ischar (p) && p == 2)
       [nr, nc] = size (a);
       if (nr == 0 || nc == 0)
         retval = 0.0;