Mercurial > octave
view .hgsubstate @ 22241:71d86e88589f
chol2inv: fix support for sparse matrices by fixing MatrixType (bug #36437)
* liboctave/array/MatrixType.cc: a Banded matrix can also be Upper or Lower.
In such case, set type to Lower/Upper and not to Banded. The check for
Banded matrix does not exist when input is non-sparse, which is why this
only affected sparse matrices.
* libinterp/dldfcn/chol.cc: add tests for sparse matrices.
author | Barbara Locsi <locsi.barbara@gmail.com> |
---|---|
date | Sat, 06 Aug 2016 19:38:32 +0200 |
parents | 3008798dc5ba |
children | dc4e2203cd15 |