Skip to content

Commit

Permalink
Merge branch 'rebase-txt2kg' of https://github.com/pyg-team/pytorch_g…
Browse files Browse the repository at this point in the history
…eometric into rebase-txt2kg
  • Loading branch information
riship committed Jan 10, 2025
2 parents c207009 + 4b1b06b commit 4d71797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torch_geometric/utils/rag/feature_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def load_subgraph(
edge_attr = self.edge_attr[edge_id]
# do not have access to original edge_index
# must fill outside this function
return Data(x=x, edge_attr=edge_attr,
node_idx=node_id, edge_idx=edge_id)
return Data(x=x, edge_attr=edge_attr, node_idx=node_id,
edge_idx=edge_id)


# TODO: Refactor because composition >> inheritance
Expand Down

0 comments on commit 4d71797

Please sign in to comment.