-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
JuliaLang/julia
#43700Description
lu(A::AbstractMatrix{Taylor1{T}}) method here is not properly inferred in Julia v1.8 (currently nightly), which is the reason for this error in the tests. (The error is silent due to this line.)
The following illustrates the problem:
julia> versioninfo()
Julia Version 1.8.0-DEV.1221
Commit 98b485e064 (2022-01-05 22:00 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin19.6.0)
CPU: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, skylake)
julia> using LinearAlgebra, SparseArrays
julia> t = Taylor1(5)
1.0 t + 𝒪(t⁶)
julia> a = Diagonal(rand(0:10,3)) + rand(3, 3);
julia> b = Taylor1.(a, 5);
julia> @which lu(b)
lu(A::StridedMatrix{T} where T) in LinearAlgebra at /usr/local/julia/usr/share/julia/stdlib/v1.8/LinearAlgebra/src/lu.jl:79For comparison, in Julia v1.7.1, the last line yields
julia> @which lu(b)
lu(A::AbstractArray{Taylor1{T}, 2}; check) where T<:Number in TaylorSeries at /Users/benet/.julia/dev/TaylorSeries/src/arithmetic.jl:629Refs: #281, #284, and older #221, #223
@dkarrasch @daanhb Maybe you have a suggestion for this...
Metadata
Metadata
Assignees
Labels
No labels