diff scripts/strings/base2dec.m @ 5443:ec8c33dcd1bf

[project @ 2005-09-08 01:40:57 by jwe]
author jwe
date Thu, 08 Sep 2005 01:40:58 +0000
parents 4c8a2e4e0717
children 2618a0750ae6
line wrap: on
line diff
--- a/scripts/strings/base2dec.m
+++ b/scripts/strings/base2dec.m
@@ -55,7 +55,7 @@
   endif
 
   symbols = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
-  if (isstr (base))
+  if (ischar (base))
     symbols = base;
     base = length (symbols);
     if (any (diff (sort (toascii (symbols))) == 0))