Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/factorization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@ function init_cacheval(
assumptions::OperatorAssumptions
)
ipiv = Vector{LinearAlgebra.BlasInt}(undef, min(size(A)...))
# `solve!` stores `(generic_lufact!(A, ...), ipiv)` where the pivot is this
# `solve!` stores `(generic_lufact!(A, ...), ipiv)`, a `LinearAlgebra.LU` whose
# `factors` is `convert(AbstractMatrix, A)` and whose pivot is this
# `Vector{BlasInt}`. `lu_instance` would type the pivot after `A`'s container
# (e.g. a `FixedSizeVector` for a `FixedSizeArray`), so rebuild the instance
# with the `Vector` pivot to keep the cacheval slot type matching.
Expand Down
1 change: 1 addition & 0 deletions test/Core/resolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ for alg in vcat(
BLISLUFactorization,
AMDGPUOffloadLUFactorization,
AMDGPUOffloadQRFactorization,
SuperLUDISTFactorization,
]
) &&
(
Expand Down
Loading