Commit 8b8cf51
Fix _matfun for Hermitian{ComplexF64} on all Julia versions
Hermitian{ComplexF64} input with real eigenvalue output must always
return Hermitian (conjugate symmetry), not Symmetric (mirror symmetry).
The previous code returned Symmetric on Julia < 1.12, causing value
mismatches in tests.
Now the version check only applies to Hermitian{Float64} (real element
type), where Julia 1.6 returns Symmetric and Julia 1.12+ returns
Hermitian.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 92f126d commit 8b8cf51
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
391 | 392 | | |
392 | 393 | | |
393 | 394 | | |
| |||
0 commit comments