Skip to content

Commit aa8007f

Browse files
Update src/lu.jl
Co-authored-by: Steven G. Johnson <[email protected]>
1 parent 456abc6 commit aa8007f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lu.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ end
8787

8888
# the following method is meant to catch calls to lu!(A::LAPACKArray) without a pivoting strategy
8989
lu!(A::StridedMatrix{<:BlasFloat}; check::Bool = true, allowsingular::Bool = false) = lu!(A, RowMaximum(); check, allowsingular)
90-
function lu!(A::StridedMatrix{T}, ::RowMaximum,ipiv::AbstractVector{BlasInt} = Vector{BlasInt}(undef,min(size(A)...)); check::Bool = true, allowsingular::Bool = false) where {T<:BlasFloat}
90+
function lu!(A::StridedMatrix{T}, ::RowMaximum, ipiv::AbstractVector{BlasInt} = Vector{BlasInt}(undef,min(size(A)...)); check::Bool = true, allowsingular::Bool = false) where {T<:BlasFloat}
9191
lpt = LAPACK.getrf!(A, ipiv; check)
9292
check && _check_lu_success(lpt[3], allowsingular)
9393
return LU{T,typeof(lpt[1]),typeof(lpt[2])}(lpt[1], lpt[2], lpt[3])

0 commit comments

Comments
 (0)