Skip to content

Commit 5e97a33

Browse files
fix
1 parent 72fc97e commit 5e97a33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GNNGraphs/query.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Graphs.edgetype(g::GNNGraph) = Tuple{Int, Int}
2929
# """
3030
function Base.eltype(g::GNNGraph{<:COO_T})
3131
s, t = edge_index(g)
32-
w = get_edge_weight
32+
w = get_edge_weight(g)
3333
return w !== nothing ? eltype(w) : eltype(s)
3434
end
3535

0 commit comments

Comments
 (0)