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
But if you try similar for LU, you will just get a stackoverflow, because the signature (\)(A::LU, B::StridedVecOrMat) is too general and will not be invoked after conversion.
The text was updated successfully, but these errors were encountered:
OK, I've tried my examples above on the new build. They work now, except for a very minor issue. The error type definitions are now reachable, but some of the error messages in LAPACK are missing, have bad grammar or are misleading. Examples:
julia> lufact(randn(3,3)) \ randn(2)
ERROR: DimensionMismatch("Matrix must be square")
The LHS is square as it should be, but does not match the RHS
julia> cholfact((X->X*X')(randn(3,4)))\randn(2)
ERROR: DimensionMismatch("Left and right hand side does not fit")
maybe this should rather be "Left and right hand sides do not fit"?
This was already mentioned in closed issue Provide logabsdet(::Matrix)? LinearAlgebra.jl#13: a failed cholesky factorization tries to throw
PosDefException
, but finds it is undefined.Similar problems occur with
DimensionMismatch
, e.g.:Method signatures for
\
involving Cholesky and LU differ and thus cause difficulties. In factorization.jl, we have:but
Now try:
but
This difference is harmless until you try to extend the applicability of
\
. For Cholesky, one can do e.g.:But if you try similar for LU, you will just get a stackoverflow, because the signature
(\)(A::LU, B::StridedVecOrMat)
is too general and will not be invoked after conversion.The text was updated successfully, but these errors were encountered: