Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
riship committed Jan 10, 2025
1 parent 5fabf44 commit 0999e53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torch_geometric/utils/rag/backend_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ def make_pcst_filter(triples: List[Tuple[str, str, str]],
all_nodes = []
for triple in triples:
if triple[0] in all_nodes:
all_nodes.append(all_nodes)
all_nodes.append(triple[0])
if triple[2] in all_nodes:
all_nodes.append(all_nodes)
all_nodes.append(triple[2])
full_textual_nodes = all_nodes

def apply_retrieval_via_pcst(
Expand Down

0 comments on commit 0999e53

Please sign in to comment.