Skip to content

Commit b124738

Browse files
Update src/lu.jl
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
1 parent 14d2196 commit b124738

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
@@ -110,7 +110,7 @@ function lu!(F::LU{<:Any,<:StridedMatrix{<:BlasFloat}}, A; check::Bool = true, a
110110
copyto!(F.factors,A)
111111
lpt = LAPACK.getrf!(F.factors, F.ipiv; check)
112112
check && _check_lu_success(lpt[3], allowsingular)
113-
return F
113+
return LU{T,typeof(lpt[1]),typeof(lpt[2])}(lpt[1], lpt[2], lpt[3])
114114
end
115115

116116
function lu!(F::LU{<:Any,<:AbstractMatrix}, A; check::Bool = true, allowsingular::Bool = false)

0 commit comments

Comments
 (0)