variables created differently in 3.1.53
John W. Eaton
jwe at octave.org
Tue Mar 10 00:19:58 CDT 2009
On 9-Mar-2009, Francesco Potorti` wrote:
| ===File ~/math/workarea/bug.m===============================
| exist("r","var")
| whos
|
| if false
| r = 2;
| endif
| ============================================================
|
|
| In 3.1.52:
|
| octave> clear all
| octave> bug
| ans = 0
| Variables in the current scope:
|
| Attr Name Size Bytes Class
| ==== ==== ==== ===== =====
| ans 1x1 8 double
|
| Total is 1 element using 8 bytes
|
|
| In 3.1.53:
|
| octave> clear all
| octave> bug
| ans = 1
| Variables in the current scope:
|
| Attr Name Size Bytes Class
| ==== ==== ==== ===== =====
| ans 1x1 8 double
| r 0x0 0 double
|
| Total is 1 element using 8 bytes
I can't duplicate this problem in the current sources. I think the
following patch is the one that fixed this problem. It is part of
3.1.54.
http://hg.savannah.gnu.org/hgweb/octave/rev/8ed42c679af5
jwe
More information about the Bug-octave
mailing list