We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b51e564 commit 6c26841Copy full SHA for 6c26841
src/varnamedvector.jl
@@ -1023,15 +1023,6 @@ julia> ForwardDiff.gradient(f, [1.0])
1023
"""
1024
replace_raw_storage(vnv::VarNamedVector, vals) = Accessors.@set vnv.vals = vals
1025
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
-
1035
vector_length(vnv::VarNamedVector) = length(vnv.vals) - num_inactive(vnv)
1036
1037
0 commit comments