cell array indexing with logical index bug?
John W. Eaton
jwe at bevo.che.wisc.edu
Mon Nov 3 09:32:14 CST 2008
On 2-Nov-2008, Ben Abbott wrote:
| The problem is not fixed for me.
|
| octave:1> a{1}=1
| a =
|
| {
| [1,1] = 1
| }
|
| octave:2> a(1)\[]
| error: binary operator `\' not implemented for `cell' by `null_matrix'
| operations
| octave:2> a(1)=[]
| a = {}(1x0)
| octave:3> a{1}=1
| a =
|
| {
| [1,1] = 1
| }
|
| octave:4> a(1==1)=[]
| a = {}(1x0)
| octave:5> a{1}=1;a{2}=2;
| octave:6> a(1==1)=[]
| a =
|
| {
| [1,1] = 2
| }
|
| octave:7> a{1}=1;a{2}=2;
| octave:8> a([1 2])=[]
| a = {}(1x0)
What is not fixed? What part of the above is not the correct
behavior?
jwe
More information about the Bug-octave
mailing list