Skip to content

Commit be9c19a

Browse files
committed
Fix tokenized setindex! for data view objects.
1 parent 05ed524 commit be9c19a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dataview.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function Base.setindex!(view::VertexOrEdgeDataView{K, V}, data::V, key::K) where
4949
return view
5050
end
5151
function Dictionaries.settokenvalue!(view::VertexOrEdgeDataView{<:Any, T}, token, value::T) where {T}
52-
setindex!(view, value, Dictionaries.gettokenvalue(view, token))
52+
setindex!(view, value, gettokenvalue(keys(view), token))
5353
return view
5454
end
5555

0 commit comments

Comments
 (0)