Mercurial > octave
view .hgsub @ 21256:a93fa1b0796e stable
Avoid overflow while reshaping large sparse matrices (bug #42850).
* Sparse.cc (reshape): track quotient and remainder of (i*old_nr)
divided by new_nr, instead of evaluating i*old_nr explicitly.
author | Lachlan Andrew <lachlanbis@gmail.com> |
---|---|
date | Sat, 16 Jan 2016 14:03:45 +1100 |
parents | 44f30dcd87e0 |
children | 88b3c6932236 |