-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Precompilation fails due to criptic "Matrixs contains NaN" bug #288
Comments
Same here, I was developing BoundaryValueDiffEq.jl in julia 1.9.0, precompiling throws matrix contains Infs or Nans error. |
Precompilation in Julia 1.10 is working fine. |
Julia 1.10 is not released yet so that's not a solution for me. I want to use these packages for my day work... |
What version of ArrayInterface.jl? |
For me it is |
If you patch in: using LinearAlgebra
function NonlinearSolve.LinearSolve.ArrayInterface.lu_instance(A::Symmetric{T}) where {T}
noUnitT = typeof(zero(T))
luT = LinearAlgebra.lutype(noUnitT)
ipiv = Vector{LinearAlgebra.BlasInt}(undef, 0)
info = zero(LinearAlgebra.BlasInt)
return LU{luT}(similar(A, 0, 0), ipiv, info)
end it goes away? |
Should be solved by the latest ArrayInterface JuliaArrays/ArrayInterface.jl#424 |
I've updated to Julia 1.10. Then compilation worked with ArrayInterface 7.5. Then, I updated to 7.6. Now precompilation does not work anymore again :( Error is:
|
Julia1.9 and ArrayInterface 7.6 also do not precompile... :( |
7.6.1? |
Yeeees!!! It works now! |
I had this problem before, so I made sure that everything is in order.
and in my manifest
However, precompilation of
NonlinearSolve
, and hence all of my DiffEq stack, fails with:The text was updated successfully, but these errors were encountered: