Skip to content

Commit 6c26841

Browse files
committed
Remove a dead VNV method
1 parent b51e564 commit 6c26841

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/varnamedvector.jl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,15 +1023,6 @@ julia> ForwardDiff.gradient(f, [1.0])
10231023
"""
10241024
replace_raw_storage(vnv::VarNamedVector, vals) = Accessors.@set vnv.vals = vals
10251025

1026-
# TODO(mhauru) The space argument is used by the old Gibbs sampler. To be removed.
1027-
function replace_raw_storage(vnv::VarNamedVector, ::Val{space}, vals) where {space}
1028-
if length(space) > 0
1029-
msg = "Selecting values in a VarNamedVector with a space is not supported."
1030-
throw(ArgumentError(msg))
1031-
end
1032-
return replace_raw_storage(vnv, vals)
1033-
end
1034-
10351026
vector_length(vnv::VarNamedVector) = length(vnv.vals) - num_inactive(vnv)
10361027

10371028
"""

0 commit comments

Comments
 (0)