Mercurial > octave
view .hgsub @ 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 | 44f30dcd87e0 |
children | 88b3c6932236 |