Closed apjanke closed 5 months ago
Yup. Looks like the regular end
operation doesn't respect the size
override method?
>> strs = string({'foo','bar','baz'})
strs =
"foo" "bar" "baz"
>> s2 = strs
s2 =
"foo" "bar" "baz"
>> s2(end) = NaS
s2 =
<missing> "bar" "baz"
>>
Adding an end
override method gives me this:
>> s2 = strs
s2 =
"foo" "bar" "baz"
>> s2(end) = NaS
s2 =
"foo" "bar" <missing>
>>
Needed for datetime, categorical, duration, calendarDuration, too.
Fixed in https://github.com/apjanke/octave-tablicious/commit/876cc52d20fcbd83ee96d1abe0ee0b3b23c27b6c.
In 0.4.1, looks like
str(end) = ...
isn't working right for strings.