Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RamonZhou committed Feb 19, 2024
1 parent 13cbad3 commit c7b76c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dgl/graphbolt/minibatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ def to_pyg_data(self):
col_nodes = torch.cat(col_nodes)
row_nodes = torch.cat(row_nodes)
edge_index = torch.unique(
torch.stack((col_nodes, row_nodes)), dim=1
torch.stack((row_nodes, col_nodes)), dim=1
)

if self.node_features is None:
Expand Down

0 comments on commit c7b76c2

Please sign in to comment.