This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #33100: check is_hermitian() within cholesky() over RDF/CDF.
The scipy implementation of cholesky() that we use in this subclass assumes that the input matrix is Hermitian. If not, the decomposition can "succeed," but return junk. So here we add an explicit check to ensure that the matrix is Hermitian before we try to factor it.
- Loading branch information
Showing
1 changed file
with
22 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters