save/load anonymous function loses empty string in returned cell-array
John W. Eaton
jwe at bevo.che.wisc.edu
Thu Apr 3 13:14:55 CDT 2008
On 3-Apr-2008, Olaf Till wrote:
| Octave version: 3.0 (on Debian stable, from a package in unstable)
|
| If an anonymous function which returns a cell-array containing an
| empty string is saved and reloaded, the entry with the empty string in
| the cell-array to be returned is lost:
|
| octave3.0:39> a = @ () {""}
| a =
|
| @() {}
|
| octave3.0:40> save -binary test.dat a
| octave3.0:41> load test.dat
| octave3.0:42> a
| a =
|
| @() {}(0x0)
Please try the following change.
Thanks,
jwe
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080403/e17cf3d5/attachment.ksh
More information about the Bug-octave
mailing list