Skip to content

Commit b208bd6

Browse files
committed
mypy
1 parent e6096bd commit b208bd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

qualtran/_infra/composite_bloq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,7 @@ def split(self, soq: SoquetInT) -> NDArray[Soquet]: # type: ignore[type-var]
14431443
"""Add a Split bloq to split up a register."""
14441444
from qualtran.bloqs.bookkeeping import Split
14451445

1446-
if not BloqBuilder.is_single(soq):
1446+
if not BloqBuilder.is_single(soq): # type: ignore[arg-type]
14471447
raise ValueError("`split` expects a single Soquet to split.")
14481448

14491449
qdtype = soq.dtype

0 commit comments

Comments
 (0)