Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Dec 24, 2024
1 parent 1eed904 commit 8c9a842
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/arithmetic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ function MA.operate!(
return res
end

function MA.operate!(add::UnsafeAdd, res::AlgebraElement, A::AlgebraElement)
MA.operate!(add, coeffs(res), coeffs(A))

Check warning on line 156 in src/arithmetic.jl

View check run for this annotation

Codecov / codecov/patch

src/arithmetic.jl#L155-L156

Added lines #L155 - L156 were not covered by tests
return res
end

# TODO just push to internal vectors once canonical `does` not just
# call `dropzeros!` but also reorders
function unsafe_push!(a::SparseArrays.SparseVector, k, v)
Expand Down

0 comments on commit 8c9a842

Please sign in to comment.