You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eigen and svd of Symmetric{Float16, ...} returns values with element type Float32. This is not the case when the input is not wrapped in Symmetric. cholesky decompositions don't have this issue.
the matrix is promoted to Float32 for LAPACK but the result is not cast back to Float16.
Working cases: For plain vanilla svd(a), the result is cast back correctly in svd.jl and eigen(a) uses a specialised Float16 routine in eigen.jl. Furthermore, for cholesky, there's a special method for AbstractMatrix{Float16} here:
eigen
andsvd
ofSymmetric{Float16, ...}
returns values with element typeFloat32
. This is not the case when the input is not wrapped inSymmetric
.cholesky
decompositions don't have this issue.The text was updated successfully, but these errors were encountered: