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 67dd45a commit 2735784Copy full SHA for 2735784
test/contexts.jl
@@ -52,7 +52,9 @@ Base.IteratorEltype(::Type{<:AbstractContext}) = Base.EltypeUnknown()
52
Return `vn` but now with the prefix removed.
53
"""
54
function remove_prefix(vn::VarName)
55
- return VarName{Symbol(split(string(vn), string(DynamicPPL.PREFIX_SEPARATOR))[end])}(vn.indexing)
+ return VarName{Symbol(split(string(vn), string(DynamicPPL.PREFIX_SEPARATOR))[end])}(
56
+ vn.indexing
57
+ )
58
end
59
60
0 commit comments