Skip to content

Commit ba297ba

Browse files
Update src/default.jl
1 parent bb1ec76 commit ba297ba

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/default.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ function defaultalg(A::SymTridiagonal, b, ::OperatorAssumptions{Bool})
8181
DirectLdiv!()
8282
end
8383
function defaultalg(A::Bidiagonal, b, ::OperatorAssumptions{Bool})
84-
DirectLdiv!()
84+
@static if VERSION>=v"1.11"
85+
DirectLdiv!()
86+
else
87+
DefaultLinearSolver(DefaultAlgorithmChoice.LUFactorization)
88+
end
8589
end
8690
function defaultalg(A::Factorization, b, ::OperatorAssumptions{Bool})
8791
DefaultLinearSolver(DefaultAlgorithmChoice.DirectLdiv!)

0 commit comments

Comments
 (0)