Skip to content

Commit 79546a7

Browse files
committed
Do not multithread by default
1 parent 2837b3e commit 79546a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lu.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if CUSTOMIZABLE_PIVOT
5959
end
6060
end
6161

62-
function lu!(A, pivot = Val(true), thread = Val(true); check = true, kwargs...)
62+
function lu!(A, pivot = Val(true), thread = Val(false); check = true, kwargs...)
6363
m, n = size(A)
6464
minmn = min(m, n)
6565
npivot = normalize_pivot(pivot)
@@ -87,7 +87,7 @@ recurse(_) = false
8787
_ptrarray(ipiv) = PtrArray(ipiv)
8888
_ptrarray(ipiv::NotIPIV) = ipiv
8989
function lu!(A::AbstractMatrix{T}, ipiv::AbstractVector{<:Integer},
90-
pivot = Val(true), thread = Val(true);
90+
pivot = Val(true), thread = Val(false);
9191
check::Bool = true,
9292
# the performance is not sensitive wrt blocksize, and 8 is a good default
9393
blocksize::Integer = length(A) 40_000 ? 8 : 16,

0 commit comments

Comments
 (0)