|
From: | Oliver Heimlich |
Subject: | Re: 4.0.0-rc1 -- issue with class |
Date: | Sat, 18 Apr 2015 13:33:25 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 |
On 18.04.2015 12:43, CdeMills wrote:
Hello, I ran the extended tests of the dataframe package under 4.0.0-rc1 (fedora 21 / x86_64) Under 3.8.2, the following construct was legal: x=dataframe(randn(3, 3)); x.types(2) ='single' The purpose being to change the storage size for the second column. This operation was handled inside @dataframe/subsasgn Under 4.0.0-rc1, 1) this fails with error: a cs-list cannot be further indexed error: invalid assignment to cs-list outside multiple assignment 2) subsasgn is not called at all. Should something be changed in the code w.r.t 4.0.0 ? Is this a known issue ?
Pascal, it looks like either x is not an object or the subscripted assignment is called from inside a class method. In these cases x is considered a struct array and x.types creates a cs-list, which cannot be indexed.
Please verify with typeinfo (x) that x is of type “class”. Is the code located inside a class method?
Oliver
[Prev in Thread] | Current Thread | [Next in Thread] |