Bug in Octave 8.2.0

Ian McCallion <[email protected]> Mon, 14 Aug 2023 14:25:08 +0100
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CAFgLC_HZ4tjoXCs-_i0Mv1M7X5tWSftPyD+rPZZaH+eonk3d6A@mail.gmail.com>
v = {};
v(1)='1'
produces:
    v =
    {
      [1,1] = 1
    }

Which is right. However

v = {};
v(1)=''
produces:
    error: A(I) = []: index out of bounds: value 2 out of bound 1

This is surely wrong. I should be able to initialise the cell array with
empty strings???

Cheers... Ian


----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help