Skip to content

Commit

Permalink
DirectLdiv! is more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Oct 17, 2023
1 parent 6fe3b2a commit a92bb59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/LinearSolveBandedMatricesExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import LinearSolve: defaultalg,

# Defaults for BandedMatrices
function defaultalg(A::BandedMatrix, b, ::OperatorAssumptions)
return DefaultLinearSolver(DefaultAlgorithmChoice.QRFactorization)
return DefaultLinearSolver(DefaultAlgorithmChoice.DirectLdiv!)

Check warning on line 9 in ext/LinearSolveBandedMatricesExt.jl

View check run for this annotation

Codecov / codecov/patch

ext/LinearSolveBandedMatricesExt.jl#L8-L9

Added lines #L8 - L9 were not covered by tests
end

function defaultalg(A::Symmetric{<:Number, <:BandedMatrix}, b, ::OperatorAssumptions)
Expand Down

0 comments on commit a92bb59

Please sign in to comment.