Skip to content

Commit

Permalink
Revert signature of lu method
Browse files Browse the repository at this point in the history
Works thanks to JuliaLang/julia#43700
  • Loading branch information
lbenet committed Jan 14, 2022
1 parent 0ee8103 commit d8e1f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arithmetic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ const LU_NoPivot = VERSION >= v"1.7.0-DEV.1188" ? NoPivot() : Val(false)
# Specialize a method of `lu` for Matrix{Taylor1{T}}, which avoids pivoting,
# since the polynomial field is not an ordered one.
# We can't assume an ordered field so we first try without pivoting
function lu(A::StridedMatrix{Taylor1{T}}; check::Bool = true) where {T<:Number}
function lu(A::AbstractMatrix{Taylor1{T}}; check::Bool = true) where {T<:Number}
S = Taylor1{lutype(T)}
F = lu!(copy_oftype(A, S), LU_NoPivot; check = false)
if issuccess(F)
Expand Down

0 comments on commit d8e1f36

Please sign in to comment.