Mercurial > hg > octave-nkf
diff liboctave/array/dMatrix.cc @ 17642:7ed397c8ca68
improve compatibility of null assignment (bug #31287)
* Array.cc (Array<T>::delete_elements (const Array<idx_vector>&)):
Improve compatibility when indices references an empty slice.
* Sparse.cc (Sparse<T>::delete_elements (const idx_vector&, const
idx_vector&)): Likewise.
(Sparse<T>::delete_elements (const idx_vector&)): Likewise.
* index.tst: New tests.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 11 Oct 2013 23:39:54 -0400 |
parents | 23c5f90f92cd |
children | 7975d75f933c |