Skip to content

Commit 72f4524

Browse files
fix default on cholesky pivot
1 parent a98c235 commit 72f4524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArrayInterface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ cholesky_instance(A, pivot = LinearAlgebra.RowMaximum()) -> cholesky_factorizati
473473
Returns an instance of the Cholesky factorization object with the correct type
474474
cheaply.
475475
"""
476-
function cholesky_instance(A::Matrix{T}, pivot = LinearAlgebra.RowMaximum()) where {T}
476+
function cholesky_instance(A::Matrix{T}, pivot = LinearAlgebra.NoPivot()) where {T}
477477
return cholesky(similar(A, 0, 0), pivot, check = false)
478478
end
479479
function cholesky_instance(A::Union{SparseMatrixCSC,Symmetric{<:Number,<:SparseMatrixCSC}}, pivot = LinearAlgebra.RowMaximum())

0 commit comments

Comments
 (0)