Mercurial > hg > octave-nkf
changeset 17823:eaf5c3ef3e8d
avoid crash in sparse constructor (bug #)
* Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)):
Use safe_numel instead of computing nr * nc directly.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 01 Nov 2013 12:20:18 -0400 |
parents | ebb3ef964372 |
children | 86e8dbccf7c7 |
files | liboctave/array/Sparse.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff