Mercurial > octave
view .hgsub @ 17682:93e272018df2
Correct dimesion of return values form sparse min/max function with empty
matrices (bug #40295)
* dSparse.cc (SparseMatrix SparseMatrix::max (Array<octave_idx-type>&, int)) :
Specialize return values if called with an empty matrix
(SparseMatrix SparseMatrix::min (Array<octave_idx-type>&, int)) : ditto
* CSparse.cc (SparseComplexMatrix SparseComplexMatrix::max (
Array<octave_idx-type>&, int)) : Specialize return values if called with
an empty matrix
(SparseComplexMatrix SparseComplexMatrix::min (Array<octave_idx-type>&,
int)) : ditto
author | David Bateman <dbateman@free.fr> |
---|---|
date | Fri, 18 Oct 2013 01:36:31 +0200 |
parents | 44f30dcd87e0 |
children | 88b3c6932236 |