Skip to content

Commit 069846e

Browse files
committed
Update originir_line_parser.py
1 parent 626b771 commit 069846e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qpandalite/originir/originir_line_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def handle_2q1p(line):
238238

239239
@staticmethod
240240
def handle_2q3p(line):
241-
matches = OriginIR_LineParser.regexp_2q1p.match(line)
241+
matches = OriginIR_LineParser.regexp_2q3p.match(line)
242242
operation = matches.group(1)
243243
q1 = int(matches.group(2))
244244
q2 = int(matches.group(3))
@@ -249,7 +249,7 @@ def handle_2q3p(line):
249249

250250
@staticmethod
251251
def handle_2q15p(line):
252-
matches = OriginIR_LineParser.regexp_2q1p.match(line)
252+
matches = OriginIR_LineParser.regexp_2q15p.match(line)
253253
operation = matches.group(1)
254254
q1 = int(matches.group(2))
255255
q2 = int(matches.group(3))

0 commit comments

Comments
 (0)