Skip to content

Commit 6829892

Browse files
weinbe58david-pl
andauthored
Update src/bloqade/cirq_utils/emit/base.py
Co-authored-by: David Plankensteiner <[email protected]>
1 parent 0e16e43 commit 6829892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bloqade/cirq_utils/emit/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def main():
136136
assert first_stmt is not None, "Method has no statements!"
137137
if len(args_ssa) - 1 != len(args):
138138
raise EmitError(
139-
f"The method {sym_name} takes {len(args_ssa)} arguments, but you passed in {len(args)} via the `args` keyword!"
139+
f"The method {sym_name} takes {len(args_ssa) - 1} arguments, but you passed in {len(args)} via the `args` keyword!"
140140
)
141141

142142
for arg, arg_ssa in zip(args, args_ssa[1:], strict=True):

0 commit comments

Comments
 (0)