Skip to content

Commit

Permalink
Merge pull request #40 from briochemc/patch-1
Browse files Browse the repository at this point in the history
Add 5-arg `mul!`
  • Loading branch information
ChrisRackauckas committed Mar 30, 2021
2 parents 7fcf8f4 + a201053 commit 3150439
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/operators/common_defaults.jl
Expand Up @@ -16,6 +16,8 @@ for op in (:*, :/, :\), T in (:AbstractArray, :Number)
end
LinearAlgebra.mul!(Y::AbstractArray, L::AbstractDiffEqLinearOperator, B::AbstractArray) =
mul!(Y, convert(AbstractMatrix,L), B)
LinearAlgebra.mul!(Y::AbstractArray, L::AbstractDiffEqLinearOperator, B::AbstractArray, α::Number, β::Number) =
mul!(Y, convert(AbstractMatrix,L), B, α, β)
LinearAlgebra.ldiv!(Y::AbstractVecOrMat, L::AbstractDiffEqLinearOperator, B::AbstractVecOrMat) =
ldiv!(Y, convert(AbstractMatrix,L), B)
for pred in (:isreal, :issymmetric, :ishermitian, :isposdef)
Expand Down

0 comments on commit 3150439

Please sign in to comment.