Mercurial > octave
view .hgsubstate @ 21098:99d373870017
Fix assigning to trailing singletons for structs and cell (bug #39789, bug #35841)
* Array.cc (index (Array<idx_vector> ia, bool, T)):
Only return empty array if resized dimension mismatches ia.
* ov-struct.cc (subsasgn): Remove workaround for index(_,_,_) returning an
empty array for trailing singletons introduced to solve bug #35841.
* index.tst: Add tests for bug #35841, #39789.
author | Lachlan Andrew <lachlanbis@gmail.com> |
---|---|
date | Wed, 16 Dec 2015 12:09:59 +1100 |
parents | 85d9cb769e8b |
children | 407c01ee1d9a 12b31cb1d6b7 |