Skip to content

Commit

Permalink
translating tuples in lists
Browse files Browse the repository at this point in the history
  • Loading branch information
tutugordillo committed Feb 17, 2025
1 parent 8cc4a47 commit 624dfd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/utils_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def replace_pos_instrsid(dependences: List[Tuple[int, int]], map_positions_instr
for (i, j) in dependences:
assert (i in map_positions_instructions) and (j in map_positions_instructions), \
f"[ERROR]: position not found in map of instructions when genereting the dependences {i} {j}"
deps.append((map_positions_instructions[i], map_positions_instructions[j]))
deps.append([map_positions_instructions[i], map_positions_instructions[j]])

return deps

Expand Down

0 comments on commit 624dfd9

Please sign in to comment.