Skip to content

Commit 2f7eba8

Browse files
committed
Fix push! for VarNamedVector
This should have been changed in #940, but slipped through as the file wasn't listed as one of the changed files.
1 parent 5da6d85 commit 2f7eba8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/varnamedvector.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -766,9 +766,7 @@ function update_internal!(
766766
return nothing
767767
end
768768

769-
# TODO(mhauru) The num_produce argument is used by Particle Gibbs.
770-
# Remove this method as soon as possible.
771-
function BangBang.push!(vnv::VarNamedVector, vn, val, dist, num_produce)
769+
function BangBang.push!(vnv::VarNamedVector, vn, val, dist)
772770
f = from_vec_transform(dist)
773771
return setindex_internal!(vnv, tovec(val), vn, f)
774772
end

0 commit comments

Comments
 (0)