help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in Octave 8.2.0


From: Ian McCallion
Subject: Bug in Octave 8.2.0
Date: Mon, 14 Aug 2023 14:25:08 +0100

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]