3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
name = " LinearSolve"
2
2
uuid = " 7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
3
3
authors = [" SciML" ]
4
- version = " 2.39.0 "
4
+ version = " 2.39.1 "
5
5
6
6
[deps ]
7
7
ArrayInterface = " 4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Original file line number Diff line number Diff line change 45
45
# For SciML algorithms already using `defaultalg`, all assume square matrix.
46
46
defaultalg (A, b) = defaultalg (A, b, OperatorAssumptions (true ))
47
47
48
- function defaultalg (A:: Union{DiffEqArrayOperator, MatrixOperator} , b,
48
+ function defaultalg (A:: MatrixOperator , b,
49
49
assump:: OperatorAssumptions{Bool} )
50
50
defaultalg (A. A, b, assump)
51
51
end
Original file line number Diff line number Diff line change 83
83
cache:: LinearCache ,
84
84
args... ;
85
85
kwargs... ) false
86
+
87
+ @static if isdefined (SciMLBase, :DiffEqArrayOperator )
88
+ function defaultalg (A:: DiffEqArrayOperator , b,
89
+ assump:: OperatorAssumptions{Bool} )
90
+ defaultalg (A. A, b, assump)
91
+ end
92
+ end
0 commit comments