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 f02209e commit 2dec808Copy full SHA for 2dec808
GNNGraphs/src/utils.jl
@@ -41,7 +41,7 @@ are sorted first according to the `ui` and then according to `vi`.
41
function sort_edge_index(u, v)
42
uv = collect(zip(u, v))
43
p = sortperm(uv) # isless lexicographically defined for tuples
44
- return (u = u[p], v = v[p], perm = p)
+ return u[p], v[p]
45
end
46
47
0 commit comments