Commit ab8aea1
Use eigendecomposition-based Sylvester solver for symmetric case
Replace LAPACK trsyl!-based solver with a direct eigendecomposition
approach when both arguments are the same Hermitian matrix (as in polar
pullbacks). This avoids LAPACKException(1) for close eigenvalues.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7069619 commit ab8aea1
1 file changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments