Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jun 14, 2024
1 parent 7679454 commit fa6c54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_example_acoeffs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ end
Base.getindex(ac::ACoeffs, idx) = ac.vals[idx]
Base.setindex!(ac::ACoeffs, val, idx) = ac.vals[idx] = val
function SA.unsafe_push!(ac::ACoeffs, idx, val)
ac.vals[idx] = val
ac.vals[idx] = MA.add!!(ac.vals[idx], val)
return ac
end

0 comments on commit fa6c54a

Please sign in to comment.