Skip to content

cholesky should work even with an empty matrix #5071

Closed
@parrenin

Description

@parrenin

I have a program where I compute a cholesky decomposition of a correlation matrix.
Sometimes, the correlation matrix is empty (when there is no data). In this case, np.linalg.cholesky reports an error.
It would be better if it returned an empty matrix.
This has been tested on numpy 1.6.2 (on debian 7).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions