cell->char loses blank entries
John W. Eaton
jwe at bevo.che.wisc.edu
Mon Dec 10 19:54:10 CST 2007
On 10-Dec-2007, Walt Ogburn wrote:
| Bug report for Octave 2.9.12 configured for i486-pc-linux-gnu
|
| Description:
| -----------
|
| When a cell array of strings is converted to a character array,
| any blank entries are lost.
|
| Repeat-By:
| ---------
|
| debug> char ({'k', '', '', 'f', 'g'})
| ans =
|
| k
| f
| g
|
| debug> size (char ({'k', '', '', 'f', 'g'}))
| ans =
|
| 3 1
Please try the following patch.
Thanks,
jwe
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20071210/e3af8999/attachment.ksh
More information about the Bug-octave
mailing list