octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error with pkg.m (== isspace does work with cell arrays anymore)


From: John W. Eaton
Subject: Error with pkg.m (== isspace does work with cell arrays anymore)
Date: Mon, 25 Feb 2008 16:17:44 -0500

On 24-Feb-2008, Michael Goffioul wrote:

| I have an error with recent mercurial code, in pkg.m. It reduces to
| the fact that isspace does not work anymore on cell array of
| strings. The error occurs around line 1299:
| 
|   if (! all (isspace (filenames)))
| 
| where filenames is a cell array of strings. I'm not sure what's
| the correct way to fix this.

I could probably help if I knew what isspace should do for a cell
array.  Matlab appears to do this:

  >> isspace ({' ', ' ', ' '})      

  ans =

       0     0     0


Which makes no sense to me.  Is this behavior useful in some way that
I'm not seeing?

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]