Skip to content

Commit

Permalink
docstring for dict_add!, remove propagators.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsch committed Jul 27, 2023
1 parent f37f826 commit bc73b1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 105 deletions.
5 changes: 5 additions & 0 deletions src/DictVectors/pdvec.jl
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,11 @@ function VectorInterface.scale!(dst::PDVec, src::PDVec, α::Number)
return map!(Base.Fix1(*, α), dst, values(src))
end

"""
dict_add!(d::Dict, s, α=true, β=true)
Internal function similar to `add!`, but on `Dict`s. `s` can be any iterator of pairs.
"""
function dict_add!(d::Dict, s, α=true, β=true)
if iszero(β)
empty!(d)
Expand Down
105 changes: 0 additions & 105 deletions src/DictVectors/propagators.jl

This file was deleted.

0 comments on commit bc73b1d

Please sign in to comment.