Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
longemen3000 authored Dec 13, 2024
1 parent 8a55761 commit fe08274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ function lu!(F::LU{<:Any,<:StridedMatrix{<:BlasFloat}}, A; check::Bool = true, a
copyto!(F.factors, A)
lpt = LAPACK.getrf!(F.factors, F.ipiv; check)
check && _check_lu_success(lpt[3], allowsingular)
return LU{T,typeof(lpt[1]),typeof(lpt[2])}(lpt[1], lpt[2], lpt[3])
return LU{eltype(lpt[1]),typeof(lpt[1]),typeof(lpt[2])}(lpt[1], lpt[2], lpt[3])
end

# for backward compatibility
Expand Down

0 comments on commit fe08274

Please sign in to comment.